My quest is this: how to identify the failed task from the (Flow) obj. I see I can iterate over the flows' tasks, I'm just not sure how to identify the task's state
Constantino Schillebeeckx
10/07/2021, 8:16 PM
and, as a follow-up question, is there a way to globally set the flow's on failure to that callback, or do I have to manually modify every flow?
k
Kevin Kho
10/07/2021, 8:20 PM
Hey @Constantino Schillebeeckx, the states are not kept in the state handler so you need to query the FlowRun with the GraphQL API. The FlowRunView might help with this
✅ 1
Kevin Kho
10/07/2021, 8:21 PM
You’d need to make your own Flow Class that subclass our Flow class I think
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.