After evaluating a decision definition via API (Java or REST), I want to find all decision instances that were involved in creating the result of the evaluation. Since all involved elements are connected by a root decision instance ID, I want to receive this ID together with the evaluation result to allow querying with this later on.
- Receive an identifier in the evaluation result that allows searching for all involved decision instances
- Return a unique id in the decision evaluation result that is attached to all involved decision instances - the rootDecisionInstanceId of the historic decision instance events looks like a suitable candidate here.
- This will only work when an appropriate history level is set in the engine configuration
- By returning the rootDecisionInstanceId, we can reuse the historic decision instance search with a rootDecisionInstanceId parameter to find all involved elements.