Hi - Is this the correct way to handle a state in...
# prefect-community
i
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
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
Ok. Thanks. Good luck with the launch.
c
np - and thank you!