Hi,
I have a CMMN file that have a bunch of process tasks each referring to a BPMN process. Is there a way to find out what BPMN Human tasks are associated to CMMN process execution?
I see that the human tasks created have a common a processInstanceID. However I don’t see a way of finding out process instance given the case execution id.
maybe you could use the case instance id to query for the process instance you are looking for. For example:
runtimeSerivice.createProcessInstanceQuery().caseInstanceId(yourCaseInstanceId).singleResult();
Does that help?
Best,
Johannes
Unfortunately that doesn’t help much because we ave multiple process instance tasks and hence multiple process instances. May be a fluent API of .caseExecutionId(executionId) would have helped.