gitgabrio opened a new issue, #1541:
URL: https://github.com/apache/incubator-kie-issues/issues/1541

   Modify jitexecutor-dmn| so that the execution rest endpoint 
(/jitdmn/dmnresult) returns information about executed branches of the DMN 
model.
   
   The format of returned json should be (e.g.)
   ```json
   {
       "namespace": "https://kie.org/dmn/_A3317FB1-7BF8-4904-A5F4-2CD63AF3AEC9";,
       "modelName": "DMN_A77074C1-21FE-4F7E-9753-F84661569AFC",
       "dmnContext": {
           "Risk Score": 20,
           "DTI": 15,
           "Loan Pre-Qualification": "Qualified",
           "id": "_CD8A1707-4F28-4F99-9D07-340F8E1A82AC",
           "Credit Score": "Excellent"
       },
       "messages": [],
       "decisionResults": [
           {
               "decisionId": "_6C207FD6-14EA-4480-A90D-074ABC97B54B",
               "decisionName": "Risk Score",
               "result": 20,
               "messages": [],
   
   "evaluationHitIds": [<rule_id1>, <rule_id2>],
   
               "evaluationStatus": "SUCCEEDED"
           },
           {
               "decisionId": "_A1236581-4334-43F1-82A0-72CE204F07F9",
               "decisionName": "Loan Pre-Qualification",
               "result": "Qualified",
               "messages": [],
               "evaluationHitIds": [<expression_id1>],
               "evaluationStatus": "SUCCEEDED"
           }
       ]
   } 
   ```
   where `<rule_id1>, <rule_id2>`  referes to id of rows executed inside 
decision tables, and `<expression_id1>` refers to branches (then/else) of 
`conditional` element
   


-- 
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]

Reply via email to