jomarko opened a new issue, #1853: URL: https://github.com/apache/incubator-kie-issues/issues/1853
This issue was found during work on: - https://github.com/apache/incubator-kie-issues/issues/1823 and it is related to the `evaluationHitIds` returned from the DMN Runner backend, so it is probably related to: - https://github.com/apache/incubator-kie-kogito-apps/pull/2190 ### Root Conditional When the conditional expression is a root of the Decision definition, the `evaluationHitIds` is set properly. ``` { "namespace": "https://kie.org/dmn/_E7C4C8DF-4462-421A-BAE9-8AA895734F09", "modelName": "DMN_9DAD1112-6887-428E-A344-F8B0934C00D2", "dmnContext": { "A": 10, "New Decision": 10, "id": "_F851ABD9-2CB6-4F2A-9F25-3D4CB5F85B6C" }, "messages": [], "decisionResults": [ { "decisionId": "_D6178FBB-633C-4BB7-888D-530786474D3F", "decisionName": "New Decision", "result": 10, "messages": [], "evaluationHitIds": { "_9C3744F6-31C7-435A-84A4-9EF29F9DA63F": 1 }, "evaluationStatus": "SUCCEEDED" } ] } ```  [ifthenelse2.dmn.txt](https://github.com/user-attachments/files/19027943/ifthenelse2.dmn.txt) ### Nested Conditional However, when the conditional expression is a nested expression of the decision node, there is no information set in `evaluationHitIds` field. ``` { "namespace": "https://kie.org/dmn/_0E7C2E43-9E1B-4AB6-8FD1-B3A1461B8C54", "modelName": "DMN_A50C20F0-B784-4749-A8FB-CF008006B0EC", "dmnContext": { "A": 1, "New Decision": 10, "id": "_92E91156-BAA4-4125-9B41-FC52425696FD" }, "messages": [], "decisionResults": [ { "decisionId": "_E0D45F9F-76E3-4F85-8A0D-6127965F717A", "decisionName": "New Decision", "result": 10, "messages": [], "evaluationHitIds": {}, "evaluationStatus": "SUCCEEDED" } ] } ```  [ifthenelse3.dmn.txt](https://github.com/user-attachments/files/19027970/ifthenelse3.dmn.txt) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
