Vaibhav Verma05/16/2023, 7:08 PM
One way I can think of achieving this behavior is to move the try/catch inside
@workflow def wf(): try: output0 = t0() except Exception: return handle_failure(...) return handle_success(...)
, 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?
Kevin Su05/16/2023, 11:35 PM
Vaibhav Verma05/17/2023, 5:43 PM