[jboss-jira] [JBoss JIRA] (DROOLS-3517) [DMN Designer] Data Types - Constraints - Constraint property
Guilherme Carreiro (Jira)
issues at jboss.org
Mon Jan 14 08:00:04 EST 2019
[ https://issues.jboss.org/browse/DROOLS-3517?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guilherme Carreiro updated DROOLS-3517:
---------------------------------------
Description:
Currently the _Constraint dialog_ infers the {{Constraint type}} based on the value.
A new property ({{kie:constraintType}}) needs to be added in the in {{itemDefinition.allowedValues}} element. See how the DMN file will look like:
{noformat}
<?xml version="1.0" ?>
<dmn:definitions ...>
<dmn:itemDefinition id="_C9B6988F-0302" name="tNum" isCollection="false">
<dmn:typeRef>number</dmn:typeRef>
<dmn:allowedValues kie:constraintType="range" id="_F7A1878D-A464">
<dmn:text>(1..200)</dmn:text>
</dmn:allowedValues>
</dmn:itemDefinition>
<dmndi:DMNDI>
<dmndi:DMNDiagram></dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
{noformat}
was:
Currently the _Constraint dialog_ infers the {{Constraint type}} based on the value.
A new property ({{kie:constraintTyp}}) needs to be added in the in {{itemDefinition.allowedValues}} element. See how the DMN file will look like:
<?xml version="1.0" ?>
<dmn:definitions ...>
<dmn:itemDefinition id="_C9B6988F-0302" name="tNum" isCollection="false">
<dmn:typeRef>number</dmn:typeRef>
<dmn:allowedValues kie:constraintType="range" id="_F7A1878D-A464">
<dmn:text>(1..200)</dmn:text>
</dmn:allowedValues>
</dmn:itemDefinition>
<dmndi:DMNDI>
<dmndi:DMNDiagram></dmndi:DMNDiagram>
</dmndi:DMNDI>
</dmn:definitions>
> [DMN Designer] Data Types - Constraints - Constraint property
> -------------------------------------------------------------
>
> Key: DROOLS-3517
> URL: https://issues.jboss.org/browse/DROOLS-3517
> Project: Drools
> Issue Type: Task
> Components: DMN Editor
> Reporter: Guilherme Carreiro
> Assignee: Daniel José dos Santos
> Priority: Major
> Labels: drools-tools
>
> Currently the _Constraint dialog_ infers the {{Constraint type}} based on the value.
> A new property ({{kie:constraintType}}) needs to be added in the in {{itemDefinition.allowedValues}} element. See how the DMN file will look like:
> {noformat}
> <?xml version="1.0" ?>
> <dmn:definitions ...>
> <dmn:itemDefinition id="_C9B6988F-0302" name="tNum" isCollection="false">
> <dmn:typeRef>number</dmn:typeRef>
> <dmn:allowedValues kie:constraintType="range" id="_F7A1878D-A464">
> <dmn:text>(1..200)</dmn:text>
> </dmn:allowedValues>
> </dmn:itemDefinition>
> <dmndi:DMNDI>
> <dmndi:DMNDiagram></dmndi:DMNDiagram>
> </dmndi:DMNDI>
> </dmn:definitions>
> {noformat}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list