bulk_cancel_workflows
Cancel multiple workflows in a single operation, setting each to CANCELLED status and halting execution at the next step boundary. Optionally cancel child workflows started by these workflows.
Instructions
Cancel multiple workflows at once.
Sets each workflow's status to CANCELLED. Each workflow will stop executing at its next step boundary.
Args: application_name (string, required): Name of the DBOS application workflow_ids (array of strings, required): IDs of the workflows to cancel cancel_children (bool, optional): Also cancel child workflows started by these workflows (default: false)
Returns: message (string): Confirmation message count (int): Number of workflows cancelled
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_ids | Yes | ||
| cancel_children | No | ||
| application_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||