Is there helpers for evaluating DRDs with an initial input?
Something similar to: ...dmnEngine.evaluateDecision(...)
but working with the initial DRD?
Thanks
x-ref:
Is there helpers for evaluating DRDs with an initial input?
Something similar to: ...dmnEngine.evaluateDecision(...)
but working with the initial DRD?
Thanks
x-ref:
based on this section: https://docs.camunda.org/manual/7.12/user-guide/dmn-engine/evaluate-decisions/#decisions-with-required-decisions, it would seem it will eval based on the selected output decision / The decision that is last in the chain that will provide the final output? (So DRD helper would not be required as it would require the selection of the key to eval is the final output key?)
Hi @StephenOTT
Yes that’s right, you get the result of the table you run. If the table has dependencies on other tables, they will be executed automatically. So in a DRD you have to specify the key of the table of which you want the result. An example (here the whole engine is booted) can be found here: https://github.com/Nlea/NY-cheesecake-process/blob/master/src/test/java/com/camunda/flowcovexample/DMNTest.java
Thanks @dominikh