Hi, is it possible to cancel multiple flow runs at once, either through the UI or cli?
c
Craig Harshbarger
07/23/2024, 2:22 PM
Not currently though there are some issues around this that we’re tracking. The only way to do this at the moment is to loop and hit the api once for each flow run (either manually or by clicking through the ui)
a
Arthur
07/26/2024, 8:49 AM
ok thanks, please can you share the main issue you're tracking so I can follow it? Is there a different output for this
prefect flow-run ls
that will give the the IDs in some kind of list, instead if the decorated text? To make looping easier
c
Craig Harshbarger
07/26/2024, 2:04 PM
I found this issue in the repo that's probably a good one to track. https://github.com/PrefectHQ/prefect/issues/14253
As for the cli I'm not sure, but you could use the api to get a json array of flow runs
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.