Skip to main content
Use prefect flow-run retry to re-execute a failed or cancelled flow run. The flow run keeps its original ID and parameters, but the run_count increments.

Find flow runs to retry

List failed flow runs to find the name you need:

Retry a deployment-based flow run

If the flow run was created from a deployment, retry schedules it for a worker to pick up:
The flow run’s state changes to Scheduled and a worker will pick it up for execution.

Retry a local flow run

Flow runs created without a deployment require an --entrypoint to the flow code:
The flow executes immediately in the current process.

Retry by ID

If multiple flow runs share the same name, use the UUID instead: