Hi there. Iβm using Flowable 7.0.0 with the UI Modeler and I have a question regarding parallel executions inside a subprocess.
Current process structure
I have a chain of subprocesses:
SubP1 β SubP2 β SubP3 β ...
Inside SubP1, the structure looks like:
-
A service task
-
A parallel gateway
-
Several branches that wait on different intermediate signal catch events
-
An exclusive gateway that decides whether to:
-
move forward to the next subprocess, or
-
rerun SubP1
-
-
A Terminate End Event inside the subprocess
The problem
When I trigger one of the signal events in SubP1, the token reaches the Terminate End Event, the subprocess exits, and execution reaches the exclusive gateway in the parent process.
However, I observe an unexpected behavior:
Two executions continue in parallel:
β’ One follows the intended rerun path
β’ The other continues forward to the next subprocess
It appears that other tokens from the parallel gateway are not being terminated, and they escape the subprocess.
Question
How can I ensure that when a specific signal is triggered:
Only one execution remains active
The subprocess restarts cleanly (or exits cleanly)
No parallel tokens continue to run or escape into the parent process
Is there a Flowable-approved design pattern to reliably terminate all parallel tokens inside a subprocess without stopping the entire process instance?
Thank you in advance for any guidance! ![]()


