https://prefect.io logo
#prefect-community
Title
# prefect-community
i

itay livni

02/09/2020, 7:30 PM
Hi - Is this the correct way to handle a state in a flow that fails and skips all downstream task on failure. The result of the flow being a an empty list? Thanks again
c

Chris White

02/09/2020, 7:34 PM
Hi @itay livni - I don’t think this will do what you expect; Flows undergo very few state changes generally speaking. Typically, a flow run moves from
Scheduled
->
Running
-> some
Finished
state. In your case, the only thing that I expect will happen is that your final flow state will be “Skipped” instead of “Failed”, but no task run states will be updated
i

itay livni

02/09/2020, 7:40 PM
Ok. Thanks. Good luck with the launch.
c

Chris White

02/09/2020, 7:41 PM
np - and thank you!