apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

DMN Runner doesn't render inputs and outputs from Included Models #406

Open ljmotta opened 1 year ago

ljmotta commented 1 year ago

Currently, the DMN jit executor doesn't send back which nodes from the Included Models are used in the current DMN, making it impossible to render the inputs and outputs on the DMN Runner table and form.

Acceptance criteria

tiagobento commented 1 year ago

@ljmotta Can you please provide a reproducer? Like a DMN that should be working but isn't... Thanks!

ljmotta commented 1 year ago

In the following example, we have a "MyDecision" decision node which depends on the "b.MyBooleanDecision" decision node and the "b.MyInput" input node. The "b.MyBooleanDecision" depends on the "MyInput" input on the included DMN.

The "MyDecision" has a Boxed Literal with b.MyInput and b.MyBooleanDecision The "b.MyBooleanDecision" has a Boxed Literal with MyInput.

Adding a new input node named MyInput would add this input to the DMN Runner form, but it would not affect the decision evaluation.

image