Join Slack
Powered by
hi, does anyone know if `prefect.context.flow_run_...
# ask-community
v
Verun Rahimtoola
01/20/2023, 7:35 PM
hi, does anyone know if
prefect.context.flow_run_id
is accessible from a state handler, when the flow is cancelled and the state handler is invoked?
a
Anna Geller
01/20/2023, 7:41 PM
this should work as shown here
https://discourse.prefect.io/t/is-it-possible-to-take-action-on-flow-run-cancellation/141
v
Verun Rahimtoola
01/20/2023, 7:44 PM
ok great, thanks!
🙌 1
Open in Slack
Previous
Next