I can't seem to find the docs for how to exit a flow if a specific task fails. Currently I'm raising
signals.FAIL
within the task, but for some tasks I just want to exit a flow if they don't work, and not have to mark every other task dependent on that task succeeding. Anything I can look at?
Skipped states are generally treated as success states
Which led me to believe that this wasn't the standard method to exit a flow in a failed state, upon failure of a critical task.
I'd like to mark the task, and flow as failed, and not attempt any further tasks if this one set up task isn't successful.
This is the way to do this?
k
Kevin Kho
04/12/2021, 3:23 PM
Sorry I misunderstood. The Task that you are raising
signal.FAIL
on is not an upstream dependency of the succeeding tasks, but you want those succeeding tasks to not run anymore right?
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.