You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is probably wrong behaviour when Elsa reach FlowJoin with WaitAny mode and cancel one of previous activities. If there is no other running activities at this moment Flowchart will be completed even if there is some activiy after FlowJoin.
It looks like
FlowJoin cancels activity -> Activity canceled event called -> Flowchart processes it with OnActivityCanceledAsync -> CompleteIfNoPendingWorkAsync -> HasPendingWork doesn't see FlowJoin as its children -> CompleteIfNoPendingWorkAsync completes Flowchart.
There is probably wrong behaviour when Elsa reach FlowJoin with WaitAny mode and cancel one of previous activities. If there is no other running activities at this moment Flowchart will be completed even if there is some activiy after FlowJoin.
It looks like
FlowJoin cancels activity -> Activity canceled event called -> Flowchart processes it with OnActivityCanceledAsync -> CompleteIfNoPendingWorkAsync -> HasPendingWork doesn't see FlowJoin as its children -> CompleteIfNoPendingWorkAsync completes Flowchart.
Some simple workflow to reproduce:
Expected Behavior
Node2 is executed
Actual Behavior
Flowcahrt is completed after FlowJoin
Environment
Elsa 3.3
The text was updated successfully, but these errors were encountered: