-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
If a parallel node in a workflow contains if/else nodes, if the node after the parallel node does not wait for all parallel nodes to complete #11756
Comments
Hey @chingzio! 👋 I'm here to help you with bug reports, answer questions, and even assist you in becoming a contributor. Let's squash those bugs together! I couldn't find specific information about the behavior of if/else nodes within a parallel node in Dify's workflow. However, I found a similar unsolved discussion regarding issues with parallel execution in workflows. You might find it helpful to check out this discussion, which addresses a major issue with parallel execution in version 0.8.0 [1]. Additionally, Dify's workflow engine typically uses a queue to ensure that all parallel branches complete before proceeding to the next node. This mechanism involves waiting for all branches to succeed before moving on, as described in the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
my yaml
|
I have the same problem. Did you manage to solve it? |
Self Checks
Dify version
0.14.0
Cloud or Self Hosted
Cloud
Steps to reproduce
✔️ Expected Behavior
After parallelism, the node waits for all nodes to complete the execution and resumes the operation
❌ Actual Behavior
A parallel post-node executes immediately after the first parallel node is executed
The text was updated successfully, but these errors were encountered: