Parallel Gateway continues if multiple tokens are received on the same path
Author: jguthrie100Created Feb 5, 2026Updated Feb 27, 2026
Describe the bug I have a process with a parallel gateway that waits on two branches, one of which has a loop which checks every hour whether a variable is true. I would expect that the gateway waits for both branches to complete before proceeding, but it actually proceeds if the same branch completes twice.
This can happen because a Message Catch Event can spawn a new token, which gets sent down the same branch again.
Expected behavior I would expect the parallel gateway to wait for a token from each branch to arrive, rather than just waiting for 2 tokens to arrive from the same branch.
Source: flowable/flowable-engine