Hi, is there a way to get try / catch behavior in a Flyte workflow.
I have a workflow where one of the tasks can fail to run. If it fails to run, I would like to perform different steps vs when it succeeds.
Something like this:
One way I can think of achieving this behavior is to move the try/catch inside
t0
, and conditioning on the output. Ideally I would like to reflect in the state of the workflow execution that t0 failed.
Is there a better way to do this?