Hello. Have few questions about the flow runs in Prefect 2:
1. How to restart flow run from the start(as I understand retry will restart only failed tasks)?
2. How to cancel the flow run(Currently see only 'Delete' option)?
Thanks
✅ 1
m
Mason Menges
11/04/2022, 4:17 PM
Hey @Vadym Dytyniak I'll do my best to answer these
1. Restarting a flow run re-triggers the whole run but you are correct that is only actually re-runs tasks in a failed, canceled or crashed state, generally speaking if you wanted a fresh run I'd probably suggest just kicking off a new flow run, is there a reason in this case you wouldn't want to do that?
2. To my knowledge we don't have specific support for cancelling a flow run as of now but it is definitely on the roadmap to include.
v
Vadym Dytyniak
11/07/2022, 9:52 AM
Hey. Thank you for your answers.
1. We would like to have clear(success) history, so full restart should help to change failed flow to success one. It was supported in V1 by changing flow run state to scheduled for example.
2. In that case we are waiting for this change.
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.