AthiraHari77 commented on issue #1341:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1341#issuecomment-2769004050

   @jomarko May be I was not clear earlier. Like you mentioned, a user tried to 
use editor, that contained this constraint definition [1]: which is invalid.
   [1]
   `not(null) and (string length()>0)`
   During this time an error message [2] is displayed in both Classic and New 
dmn editor.
   [2]
   `ERROR_EVAL_NODE: Error while evaluating node 'Hello New User' for 
dependency 'user': the dependency value 'Amy' is not allowed by the declared 
type (DMNType{ https://kie.apache.org/dmn/_B08C396C-3893-4572-91AE-335F99187350 
: user })`
   
   
![Image](https://github.com/user-attachments/assets/54906897-0934-4d55-9dd8-d7977a8de707)
   
   Once user fix the constraint definition to be [3]:
   [3]
   `string length(?)>0`
   Then there are no warning/error messages and user is be able to evaluate the 
dmn model in new dmn editor similar to the old one.
   
   
![Image](https://github.com/user-attachments/assets/b0844612-043e-4826-9bdd-d1292bc76232)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to