Restart Workflow Run
Restart a failed workflow run from the beginning
When a workflow run fails, it’s automatically moved to the DLQ (Dead Letter Queue) where it can be analyzed and restarted. The restart feature allows you to start a failed workflow completely over from the beginning, re-executing all steps from scratch.
This is useful when you want to ensure a clean execution or when the workflow failure might have been caused by corrupted state that requires a fresh start.
When you restart a workflow, completely new workflow run is created using the original workflow’s initial configuration and payload. All previous step results are discarded and the workflow executes as if it’s running for the first time.a
You can overwrite the original workflow’s run ID, retries and flow control settings by passing the respective headers in the restart request.
Request
The ID of the DLQ message containing the failed workflow run
Optional. Overwrite the workflow run ID for the restarted workflow. If not provided, a new workflow run ID will be generated.
Optional. Overwrite the flow control key for the restarted workflow. If not provided, the original workflow run configuration will be reused.
Optional. Overwrite the flow control values for the restarted workflow. If not provided, the original workflow run configuration will be reused.
Optional. Overwrite the retry configuration for the restarted workflow steps.
Response
The ID of the restarted workflow run
Unix timestamp when the restarted workflow was created