Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-5711

[DMN XML] Signavio Profile - MultiInstanceDecisionLogic: MID requirements are not linked

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • dmn engine
    • None

      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.

      Details:

      The statement that will cause decisions to consider their requirements during evaluation is missing for MultiInstanceDecisions:

      compiler.linkRequirements( model, di );

       Inside org.kie.dmn.signavio.MultiInstanceDecisionLogic.MultiInstanceDecisionNodeCompiler#compileEvaluator

        1. DecisionLogic.PNG
          DecisionLogic.PNG
          18 kB
        2. DRG.png
          DRG.png
          21 kB

              mmortari@redhat.com Matteo Mortari
              jonas.beyer Jonas Beyer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: