dlq.restart method restarts one or more workflow runs from the Dead Letter Queue (DLQ).
This allows you to reprocess workflow runs that previously failed after exhausting retries.
Can be called with DLQ IDs (with optional flowControl and retries), or with a filter object to restart matching entries.
Arguments
DLQ ID mode
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.Filter mode
Restart DLQ entries with this label.
Restart DLQ entries matching this workflow URL.
Restart DLQ entries matching these workflow run IDs.
Restart DLQ entries created after this date (Unix ms as string).
Restart DLQ entries created before this date (Unix ms as string).
Response
The return type depends on the input:- Single DLQ ID (string): Returns a single object
- Array of DLQ IDs: Returns an array of objects
- Filter mode: Returns an array of objects
The ID of the new workflow run created from the restarted DLQ message.
The timestamp when the new workflow run was created.