flowable / flowable/flowable-engine

Parallel Gateway continues if multiple tokens are received on the same path

Offen
#4,166 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
9.5k
Forks
2.9k
Ø Merge
7 Std. 8 Min.
Gemergte PRs (30 T.)
2

Beschreibung

**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.

Image

**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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.