cancel
Showing results for 
Search instead for 
Did you mean: 

Scope of event subprocesses

meweiss
Champ in-the-making
Champ in-the-making
Hi all,

Trying to interpret this line from the documentation about how event subprocesses work - "An interrupting sub-process cancels any executions in the current scope"

What does current scope mean?

I assume if I have a parent process with an event subprocess that gets triggered, the parent process is killed.

But when things get more complex - say you have a parent process, which uses call activity and a multi instance loop to spawn a bunch of child subprocesses. If an event subprocess triggers in a single one of those children, which processes are cancelled? All siblings and the parent? Just the single child subprocess?
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
A scope basically maps to an embedded subprocess, cal activity or process instance.

In your example, i would say the subprocess (and all instances). But I would have to check the code / the BPMN spec to see if that's what it does / what's the wanted behavior.