flowable / flowable/flowable-engine

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

Aperta
#4,166 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
9.5k
Fork
2.9k
Merge medio
7h 8m
PR unite (30g)
2

Descrizione

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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.