ruanwenjun opened a new issue, #15756: URL: https://github.com/apache/dolphinscheduler/issues/15756
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened When we execute a workflow with switch, if all condition is failed and the default branch is empty, we may find the task instance node is failed, and the workflow instance is success, but the task after the switch is not trigger. <img width="818" alt="image" src="https://github.com/apache/dolphinscheduler/assets/22415594/4e869abb-06f2-4d23-936a-a7a6d145b720"> ### What you expected to happen xx ### How to reproduce 1. Create a workflow with switch 2. The switch condition is failed, and without default branch. 3. Execute the workflow ### Anything else _No response_ ### Version 3.2.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
