workflow_batch
Batch process pattern instances in a workflow session: apply fixes, skip, flag for review, or group by type. Use dry run to preview before confirming.
Instructions
Apply batch operations to multiple pattern instances in a Workflow Engine v2 session.
For pattern-based workflows (like error-to-errorinfo-migration), this allows efficient bulk operations:
apply_fixes: Apply auto-fixes to matching instances
skip_instances: Mark instances as skipped
flag_for_review: Mark instances for manual review
group_by_type: Get instances grouped by type
Use dry_run=true (default) to preview changes before applying. Use confirmation_token from dry_run to execute the operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Workflow session ID | |
| operation | Yes | Batch operation to perform | |
| filter | No | Filter criteria for selecting instances | |
| dry_run | No | Preview changes without applying (default: true) | |
| confirmation_token | No | Token from dry_run to confirm actual execution |