flowable / flowable/flowable-engine

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

オープン
#4,166 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
9.5k
フォーク
2.9k
平均マージ
7時間 8分
マージ済み PR(30日)
2

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、説明されているプロセスを再現します。2つの分岐を持つ parallel gateway に、ループと、1つの分岐に沿って複数のトークンを送信できる Message Catch Event を含めます。gateway が入力トークンをどのようにカウントし、分岐を区別しているかを追跡します。片方の分岐が複数のトークンを受け取る場合も含め、gateway が各分岐から1つずつトークンを受け取った後にのみ進むことを確認できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。