Channels
announcements
ask-marvin
best-practices-coordination-plane
data-ecosystem
data-tricks-and-tips
events
find-a-prefect-job
geo-bay-area
geo-berlin
geo-boston
geo-chicago
geo-colorado
geo-dc
geo-israel
geo-japan
geo-london
geo-nyc
geo-seattle
geo-texas
gratitude
introductions
marvin-in-the-wild
pacc-clearcover-june-12-2023
pacc-may-31-2023
ppcc-may-16-2023
prefect-ai
prefect-aws
prefect-azure
prefect-cloud
prefect-community
prefect-contributors
prefect-dbt
prefect-docker
prefect-gcp
prefect-getting-started
prefect-integrations
prefect-kubernetes
prefect-recipes
prefect-server
prefect-ui
random
show-us-what-you-got
Powered by
Title
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.
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.
#prefect-community
Join Slack