Hi guys. I'm trying to cancel a flow with cancel() function from prefect.cli.flow_run package. But flow fails with
prefect.exceptions.UnfinishedRun: Run is in CANCELLING state, its result is not available.
Could you advise what I can do to cancel gracefully?
b
Bianca Hoch
01/04/2024, 4:14 PM
Hello 👋 ! Were you able to give Prefect Cloud automatons a try? There is an action available which will let you cancel a flow run under certain conditions.