Hi all, I was exploring Prefect Automations and was wondering if we could run a flow when an another flow has been cancelled from the UI? I'm trying to catch the cases where a user would cancel a flow from the UI either as a separate flow/in state handler..
k
Kevin Kho
10/31/2021, 10:19 PM
Not at the moment, but it might be worth the feature request. I’ll open a ticket for this.
Kevin Kho
10/31/2021, 10:23 PM
For other states (not cancelled), this is possible with the Flow level state handler.
h
Harish
10/31/2021, 10:26 PM
Interesting, never heard of a flow level state handler, could you please point me to any documentation/example? Thank you!
k
Kevin Kho
10/31/2021, 10:42 PM
The docs for that will be here. It would be your Flow process triggering other Flows, but the state handlers aren’t used for cancelled Flows.