Mrhs121 commented on issue #17597: URL: https://github.com/apache/dolphinscheduler/issues/17597#issuecomment-3442012913
I used the workflow you provided to reproduce this problem. Why can't the execution of the condition task be triggered when the upstream task fails(For example, node1 in the workflow you provided failed)? The main reasons are as follows: When node1 fails, an event as shown below will be sent <img width="1396" height="563" alt="Image" src="https://github.com/user-attachments/assets/95a6a936-c2b6-4025-8361-d6938c954b09" /> You can also see similar logs in the log ``` [WI-16][TI-0] - 2025-10-24 16:10:45.873 INFO [ds-workflow-eventbus-worker-2] o.a.d.s.m.e.WorkflowEventBus:[41] - Publish event: WorkflowTopologyLogicalTransitionWithTaskFinishLifecycleEvent{task=node1taskState=FAILURE} ``` Next, the running status of this event will be analyzed in the tryToTriggerSuccessorsAfterTaskFinish method, due to satisfy the conditions for isEndOfTaskChain, returned directly, so there is no trigger downstream tasks scheduling <img width="1440" height="353" alt="Image" src="https://github.com/user-attachments/assets/75d25cb2-27a4-4383-8f2e-395292b4100f" /> -- 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]
