Andreas
05/11/2023, 10:03 AMVadym Dytyniak
05/11/2023, 11:49 AMFilip Panovski
05/11/2023, 11:56 AMon_cancelled
hook, but you should be able to access the run state as described in this example: https://discourse.prefect.io/t/how-to-take-action-on-a-state-change-of-a-task-run-task-level-state-handler/82
It seems that this only applis to tasks though, not flows. Perhaps it might work if you submit your flow as a subflow and access the future from the parent flow.Deceivious
05/11/2023, 12:41 PMon_cancelled
si coming soon? 😄 i think i remember reading it somewhereFilip Panovski
05/12/2023, 4:42 PMSerina
05/25/2023, 10:00 PMon_cancellation
flow run state change hook is released. Please see our new documentation for more details:
https://docs.prefect.io/latest/concepts/states/#state-change-hooks