Apologies if I’ve missed this somewhere obvious (quite likely!) but is it not possible to cancel a flow run from the 2.0 UI?
✅ 1
k
Khuyen Tran
10/25/2022, 4:27 PM
There is no current way to do it besides deleting the flow run. We are working on adding Cancel to a flow run
d
David Elliott
10/25/2022, 4:44 PM
OK, thanks!
David Elliott
10/25/2022, 5:20 PM
Don’t suppose there’s any very rough timeline for that is there? Atm deleting a flow run in the UI causes the flow run to crash out non-gracefully, and I was hoping to be able to add some logic for when the run gets cancelled (which requires it to return cancelled gracefully). I guess I could (presumably) cancel it via the CLI or API, but just wondering if there’s any expectation on that UI functionality?
z
Zanie
10/25/2022, 5:22 PM
There is a rough timeline actually, we plan to add this in the next month. We do not check for cancellation at this time in the engine, so if you change the flow run’s state to Cancelled nothing will happen unless it attempts to perform a state transition i.e. if you do it before it is Running it will not run but otherwise it will not see it has been cancelled until it is finished.
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.