Flow run shows success inspite of a failed task #18132
-
|
I have created a pipeline that has 8 tasks. Let's say when task 3 fails while running the pipeline, though at task level I can see a failure state, the flow state shows as successful. This issue is similar to #5374. I tried the solution mentioned there, which is to use "flow.set_reference_tasks" but ended up getting a error: If any of the tasks in the flow fails, I want the flow state to change into Failure. Has anyone tried something similar before and found a way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
@Vignesh-Kathirkamar #5374 is from 2022 and refers to prefect 1 code your question is about final state determination, which is documented here |
Beta Was this translation helpful? Give feedback.
@Vignesh-Kathirkamar #5374 is from 2022 and refers to prefect 1 code
your question is about final state determination, which is documented here