Event subprocess is still active even if the process instance is ended

Hello,

I have a model deployed in the Camunda Engine.
My issue is that the event subprocess is still active even if the process instance is ended.

Considering the following image, you can see that the process instance is ended, but the event subprocess is still active.

Why does this happen?? Is it against the BPMN 2.1 specification?
Is it an error on the modeling part of the model??

Thank you.

The process instance is only ended, when no more Tokens (blue bubbles) are aktiv. So its totally valid that your given example remains active until the event based subprocess ends … think of it as if you had two parallel branches … you would expect the instance to stay active until both finished.

If you want all remaining sub instances to close as well, use the terminating end event … it will cancel everything else as well.

3 Likes

@jangalinski Thank you so much for your answer.
Now I get the point :slight_smile: