flowable / flowable/flowable-engine

Async StartEvent causes process level 'start' execution listener to be run twice

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

説明

**Describe the bug**
If the start event element of the diagram is **async** then `ContinueProcessOperation#run` is called twice for the start event element which leads to calling any process level execution listeners twice as well (see also `ContinueProcessOperation#continueThroughFlowNode` and `ContinueProcessOperation#executeProcessStartExecutionListeners`).

If the start event element is **sync** then the listener is called just once (as expected).

**Expected behavior**
The process level start execution listener should be called just once when the process is started.

**Code**
Should be pretty straightforward for you to reproduce with any trivial diagram that starts like this:
```





...
```

**Additional context**
Using latest Flowable version (process engine only) with Spring Boot, Postgres 10.

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

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

評価

この issue はまだ評価されていません。

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

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