Join Slack
Powered by
Hey. Does Prefect 2 support on cancel flow handler...
# ask-community
v
Vadym Dytyniak
04/06/2023, 8:09 AM
Hey. Does Prefect 2 support on cancel flow handler?
👀 1
b
Bianca Hoch
04/06/2023, 5:07 PM
Hey Vadym, my first thought would be to setup an automation which kicks off an event in response to a flow entering a
Cancelled
or
Cancelling
state.
Bianca Hoch
04/06/2023, 5:08 PM
What would you like execute in response to a flow being cancelled?
v
Vadym Dytyniak
04/07/2023, 7:32 AM
I have to shutdown the cluster created in the flow.
2
Views
Open in Slack
Previous
Next