-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strange behavior after Decide/Branch step - seems like interleaved execution #1189
Comments
To run the sample the following package references are required:
|
Do you find any information about your user case ? I suspect you are correct about thé position of décide/branch step in the workflow, but i'll bé glad if you can confirm.
Do you find any information about your user case ? I suspect you are correct about the position of décide/branch step in the workflow, but i'll be glad if you can confirm. |
I dont understand what information you need from me. Can you rephrase your question? The only workaround I found was to split the workflow creation into multiple methods so each branch would create the full remaining workflow until the end. For small workflow this would be ok but I assume if the workflow gets bigger the could would be more complex. In the example above it means to move the workflow after the branch into a method and call it to append it to each created branch. In a way this would duplicate code but it works correctly |
Describe the bug
If a workflow has steps after a Decide/Branch step then it seems that steps in branch and after the branch are executed interleaved
To Reproduce
Steps to reproduce the behavior:
Run this program:
Output is:
LogStep: 1
LogStep: 2
LogStep: 11
LogStep: 4
LogStep: 12
LogStep: 5
LogStep: 13
LogStep: 14
LogStep: 15
Expected behavior
Output should be:
LogStep: 1
LogStep: 2
LogStep: 11
LogStep: 12
LogStep: 13
LogStep: 14
LogStep: 15
LogStep: 4
LogStep: 5
Additional context
The text was updated successfully, but these errors were encountered: