Did you know that Prefect 2.0 has flow-level retries? You can configure it the same way as with tasks.
Rerunning a flow works the same way as you would trigger any flow:
- from your IDE by simply running your Python script
- from the UI
- from the API e.g. using How to create a flow run from deployment (orchestrator pattern)?
Restarts functionality doesn’t exist as a feature in 2.0 due to the highly dynamic nature of 2.0, but restarting or rerunning a flow works