elsa-workflows / elsa-workflows/elsa-core

Join not waiting for if/else activity to complete.

Open
#3,348 3 comments 0 reactions 0 assignees View on GitHub
bug triaged
Dominant language
C#
Stars
7.9k
Forks
1.5k
Avg merge
15h 22m
Merged PRs (30d)
114

Description

In the below workflow, the join does not wait for all of the if activities to complete, even though the join mode is set to Wait All. All of the run workflow activities are set to block. It seems as soon as one of the If activities returns Done, the join thinks they are all done. You can see in the second screen shot that they all say done, even though all are still running except 1. Using the latest 2.10 preview.

image

image

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the workflow with nested If activities, Wait All join mode, and blocking Run Workflow activities; trace when each activity reports Done. The fix is complete when the join remains blocked until every If branch and its running activities have completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.