resume_workflow
Resume a cancelled or enqueued workflow to continue execution, optionally specifying a queue for the resumed run.
Instructions
Resume a workflow.
Resumes execution of a workflow that is in CANCELLED state. You can also use this on a workflow in the ENQUEUED state to immediately start it, bypassing its queue. You cannot resume a workflow in any other state.
Args: application_name (string, required): Name of the DBOS application workflow_id (string, required): ID of the workflow to resume queue_name (string, optional): If provided, enqueue the resumed workflow onto this queue instead of running it immediately
Returns: message (string): Confirmation message workflow_id (string): The resumed workflow ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| queue_name | No | ||
| workflow_id | Yes | ||
| application_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||