bulk_cancel_workflows
Cancel multiple workflows at once by setting their status to CANCELLED, halting each at its next step boundary. Provide application name and workflow IDs; optionally cancel child 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 | |||