Hi all, I’ve got a flow running (on 2.13.0) a set ...
# ask-community
s
Hi all, I’ve got a flow running (on 2.13.0) a set of tasks, all of which persist their results. I also have the same hook
on_completion
and
on_failure
which sends a slack message. Currently, when a task fails the flow still ends in the “Completed” state. I would have expected the flow to also fail. Even the state sent to the hooks is “Completed”. Any idea how I can adjust my configuration to ensure the flow fails if a task fails?
1
It looks like I was returning some results from the flow (which I did not need). When I removed the return from the flow it seems to work as expected. I.e. the flow fails if a task fails
🙌 1