dlq.restart method restarts one or more workflow runs from Dead Letter Queue (DLQ).
This allows you to reprocess workflow runs that previously failed after exhausting retries.
Arguments
You can restart DLQ entries by ID or by filters.By DLQ ID
The DLQ entry ID or list of IDs to restart.
Use the
dlqId field from messages returned by client.dlq.list().An optional flow control configuration to limit concurrency and execution rate of restarted workflow runs.See Flow Control for details.
Number of retry attempts to apply to the restarted workflow invocation.
Defaults to
3 if not provided.By filters
Instead of passingdlqId, you can pass a filter object:
Filter by workflow run ID.
Filter by exact workflow URL.
Restart workflows created after this date.
Restart workflows created before this date.
Restart workflows with this label.
Restart all DLQ entries.
Response
client.dlq.restart() returns one or more objects containing details of the restarted workflow run(s):