https://prefect.io logo
a

ajaleed

12/02/2022, 6:26 AM
Hello • Is there a way to stop any running prefect flow from UI ? • Im using prefect 2.0 Flow Task: downloading files from ftp source over to NAS, in linux directories Issue: I delete respective flow from UI but somehow still getting files in my respective directory. Seems like the flow keeps running in background, perhaps.... Thanks Cc @User , @User
āœ… 1
r

Ryan Peden

12/02/2022, 6:28 AM
Yes, there is! Prefect 2.7 was released less than twelve hours ago, and flow cancellation is one of its new features. You can read all about it here: https://medium.com/the-prefect-blog/prefect-2-7-is-out-with-pause-resume-and-robust-cancellation-functionality-359f91b0f24c
šŸ™Œ 1
You can cancel flows using either the UI or the CLI
a

ajaleed

12/02/2022, 6:29 AM
Thanks Ryan. For my current version 2.0; can I cancel it from UI or CLI ?
r

Ryan Peden

12/02/2022, 6:32 AM
No, you would need to upgrade to 2.7.
a

ajaleed

12/02/2022, 6:33 AM
hmmm, OKšŸ‘ Appreciated.