Marwan Sarieddine
03/01/2021, 10:41 PMMarwan Sarieddine
03/01/2021, 10:46 PMKyle Moon-Wright
03/01/2021, 10:47 PMany_failed
trigger for any/some of the upstream tasks. You’ll probably need to find the right trigger that fits best with your use case here, as this Task will be a part of your flow and won’t look to the final state of Flow_A as a trigger, but some set of tasks instead.Marwan Sarieddine
03/01/2021, 10:51 PMany_failed
trigger to run a task (in case there are upstream failures), and this will correctly capture task run failures throughout the flow, but the edge case I am concerned about is the flow run failing due to underlying infrastructure failures - in which case the downstream trigger task might never get reachedKyle Moon-Wright
03/01/2021, 10:59 PMcreate_flow_run
mutation upon a failure at the flow level, which is basically what StartFlowRun is doing anyway in the form of a task. This way you can capture the flow level failure, but as a consequence you won’t get the features/visibility of a Task object.
Other than that, I can’t think of a way to accommodate this edge case…. That is, until we unveil the API Actions that you can implement as a part of Prefect Cloud, but SHHH I probably shouldn’t be talking about that yet. prefect duckMarwan Sarieddine
03/01/2021, 11:07 PM