Hi All,
Since I am new to Camunda, facing issue in Process Modification
Problem Statement :
I am trying to modify the processInstance using process modification API using runtime service but when I am trying to move execution to particular transition flow (flow-x) using startTransition method the flow is getting executed but the instance getting closed after reaching at the End_Event_subprocess_B
Expectation - I want behavior where the flow should complete execution till ‘End_Event_subprocess_A’ and then move to gateway (Gateway-3) placed after Subprocess-A.
Code -
modificationBuilder.startTransition(flow-x)
.setVariables(variable)
setAnnotation(some-text)
.cancelAllForActivity(activity-2) //instance Currently at activity-2
.execute();
Please find the BPMN diagram below.
And I am using 7.18.4 EE version.
Appreciate any suggestion or solution to get expected behavior.