]
Tommy Neubert updated DROOLS-5711:
----------------------------------
Attachment: DecisionLogic.PNG
[DMN XML] Signavio Profile - MultiInstanceDecisionLogic: MID
requirements are not linked
----------------------------------------------------------------------------------------
Key: DROOLS-5711
URL:
https://issues.redhat.com/browse/DROOLS-5711
Project: Drools
Issue Type: Bug
Components: dmn engine
Reporter: Jonas Beyer
Assignee: Matteo Mortari
Priority: Minor
Attachments: DRG.png, DecisionLogic.PNG
h3. Summary:
When evaluating a decision model that contains a MultiInstanceDecision, the result will
often times be {{[null]}}, because the engine will not evaluate the decision dependencies
of the MID first, and simply execute the MID with empty inputs instead.
h3. Details:
The statement that will cause decisions to consider their requirements during evaluation
is missing for MultiInstanceDecisions:
{code:java}
compiler.linkRequirements( model, di );{code}
Inside
{{org.kie.dmn.signavio.MultiInstanceDecisionLogic.MultiInstanceDecisionNodeCompiler#compileEvaluator}}