Skip to content

[BUG] [Plugin] Conditions Task branch flow failed  #10049

@Dannila

Description

@Dannila

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

Condition is a condition node that decides which downstream task should run based on the condition of the upstream task. When the upstream task runs successfully, run the success branch. When the upstream task fails to run, run the failure branch. But now no matter whether the upstream task runs successfully or fails, only the tasks of the successful branch will be run.

What you expected to happen

The Condition task should decide which downstream task should run based on the conditions of the upstream task.

How to reproduce

Create a Condition task, determine the successful or failed branch task and run it。
88b146a52756eca53062464932ce43ee83419c55aea5a79790e7b10f03a58656QzpcVXNlcnNcQWRtaW5pc3RyYXRvclxBcHBEYXRhXFJvYW1pbmdcRGluZ1RhbGtcMjQ5MjQ4MDk3Ml92MlxJbWFnZUZpbGVzXDE2NTI2NzE4NDY0MjJfNkY4NkVDRTItM0RGMy00YTBkLTlBODctQkQzQ0M3RDJEMjQxLnBuZw==

When the upstream task runs successfully, Conditions select the successful branch task and run it.
f8299c96165ba1ffcb11dbf8594d774f451f56f75a2ee249d7efef113123b647QzpcVXNlcnNcQWRtaW5pc3RyYXRvclxBcHBEYXRhXFJvYW1pbmdcRGluZ1RhbGtcMjQ5MjQ4MDk3Ml92MlxJbWFnZUZpbGVzXDE2NTI2NzIzNzYzMTRfNEQwMEFFODItMkM0Mi00MzQ5LUEwQjItNjg3RTNGRkRBREU2LnBuZw==

But when the upstream task fails to run, Conditions still select the successful branch task and run it.
7c0b8fa87da3b1ed1640c8c7cab9d8d1e5e6a32fd69df209fe46ef541c803686QzpcVXNlcnNcQWRtaW5pc3RyYXRvclxBcHBEYXRhXFJvYW1pbmdcRGluZ1RhbGtcMjQ5MjQ4MDk3Ml92MlxJbWFnZUZpbGVzXDE2NTI2NzIyMDAwOTJfODJFRkMyRDgtRjdENC00OTE5LUIyNTEtREE2MUEyNjJCMDVFLnBuZw==

Anything else

No response

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

backendbugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions