[
https://issues.jboss.org/browse/DROOLS-3730?page=com.atlassian.jira.plugi...
]
Klara Kufova commented on DROOLS-3730:
--------------------------------------
NOTE FOR KLARA: I know this is misleading for you. This is saying that constraints should
be validated and errors should be generated when violating the constraints (which is not
happening at the moment). Basically, it should fail but it doesn't.
Add support to DMN constraints on inputs (report input validation
errors)
-------------------------------------------------------------------------
Key: DROOLS-3730
URL:
https://issues.jboss.org/browse/DROOLS-3730
Project: Drools
Issue Type: Enhancement
Components: Scenario Simulation and Testing
Reporter: Daniele Zonca
Assignee: Daniele Zonca
Priority: Major
Labels: ScenarioSimulation
See this example
https://github.com/kiegroup/drools/compare/master...tarilabs:tarilabs-201...
and try with a value out of the domain ranga [0..100].
when a Decision or any evaluation which depends on such InputData is triggered, an error
message like the following is reported
```Error while evaluating node 'my decision' for dependency 'my input':
the dependency value '999' is not allowed by the declared type (DMNType{
http://www.trisotech.com/definitions/_7ab67159-21c7-4985-91fc-f0d0174898db : tNumber0100
})```
--
This message was sent by Atlassian Jira
(v7.12.1#712002)