gitgabrio opened a new issue, #1020:
URL: https://github.com/apache/incubator-kie-issues/issues/1020

   The current version does not allow creation of `typeConstraint`. Constraints 
are always mapped to `allowedValues`.
   `typeConstraint` and `allowedValues` have a slightly different semantics.
    `allowedValues` is currently deprecated, but for the moment being both have 
to be managed
   
   
   
![Image](https://github.com/apache/incubator-kie-issues/assets/765578/0feb4835-99ac-4fc2-ba2a-b66f050c5419)
   
   ```xml
   <dmn:itemDefinition id="_20166AAE-06F8-4045-8F90-6EDF4990E91E" 
name="typeStringCollection" isCollection="true" 
typeLanguage="https://www.omg.org/spec/DMN/20230324/FEEL/";>
        <dmn:typeRef>string</dmn:typeRef>
        <dmn:allowedValues kie:constraintType="expression" 
id="_7A2D84BB-D6B9-4321-9BE0-7371D9F53D9A">
          <dmn:text>count (?) = 1</dmn:text>
        </dmn:allowedValues>
   ```


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