https://flyte.org logo
r

Rémy Dubois

07/13/2022, 3:59 PM
Run a task on others error
Hello everyone, is there a way for starting a task, if and only if, a sub-workflow has failed ? Let's say I have a workflow of 3 sequential tasks, and I'd like a 4th task to be ran if, and only if, one of the 3 tasks fails.
k

Ketan (kumare3)

07/13/2022, 5:04 PM
unfortunately we do not have that today
but, this is infact supported in the backend through
failure nodes
but not implemented in flytekit python today
r

Rémy Dubois

07/13/2022, 5:06 PM
Thanks Ketan ! Out of curiosity, is it in the plan to expose this to the flytekit python ?
k

Ketan (kumare3)

07/13/2022, 5:06 PM
it is, just lower in priority
👍 1
but someone could implement it
so the support is for something like try: task1 task2 …. catch: do_something
please upvote