cmmn-reset_task
cmmn-reset_taskReset a CMMN task to available or enabled status to re-execute it. Optionally cascade forward to reset dependent downstream items, with dry-run preview to audit changes before applying.
Instructions
Resets a task to allow re-execution. Returns reset_items audit listing every item touched (id, name, type, from_status, to_status). With cascade=true, walks the sentry graph forward and resets all downstream items so cmmn-execute_stage will re-run them rather than skipping completed work. With dry_run=true, returns the same audit without applying. Existing result data and child items are kept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cascade | No | If true, also resets all downstream items that transitively depend on this task via sentries. Walks the sentry source_ref chain forward. Defaults to false. | |
| dry_run | No | When true, returns the planned reset audit (which items would be reset and from what status) without applying any changes. Use to preview a cascade before committing. Default: false. | |
| task_id | Yes | Task ID (@rid format) | |
| to_status | No | Target status after reset: 'available' (wait for sentry gate, no auto-execute), 'enabled' (default, auto-execute for process tasks). Default: 'enabled' |