opatrascoiu commented on issue #2872:
URL: 
https://github.com/apache/incubator-kie-tools/issues/2872#issuecomment-2615288487

   @tiagobento Currently, the type specified by the user populates the typeRefs 
of the variable and encapsulatedLogic tags.
   
   This is incorrect. This issue was present in the TCK suite as well. It was 
addressed here https://github.com/dmn-tck/tck/pull/423
   
   The modelling of BKMs, without using the function type, can be done as 
follows:
   - typeRef of variable and encapsulatedLogic is undefined
   - typeRef of the parameter is defined (e.g. boolean)
   - typeRef of the expression that represents the body of the BKM is set ()
   - the type of the BKM is inferred from the above parts
   
   An example is here 
https://github.com/dmn-tck/tck/blob/master/TestCases/compliance-level-3/0087-chapter-11-example/0087-chapter-11-example.dmn#L343
   
   Currently, the DMN editor does not allow the specification of the type of 
the body, but it allows the specification of the types of the parameters.
   
   To comply with the standard we need to have at least one feature:
   - support function types or
   - be able to specify the typeRef of the body of the BKM
   


-- 
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