I want to know if there is a way to complete the whole process when the subflow process completed.
When I say subflow, actually I mean a “Call Activity”.
Lets think that I have a root bpmn file in which has a Call Activity reference to another bpmn model. And this second bpmn has a Call Activity reference to a third bpmn model. This might get deeper depending on the use case.
At some point in these sub flows, I may decide to terminate the whole process.
How should I model it, or is this possible ?
In the model given below, Sub Flow Call 1 does what I want. However, if the flows runs into Sub flow Call 2, it always return to root process no matter it completes with an End event or not.