cmmn-create_sentry
cmmn-create_sentryCreate a CMMN Sentry to guard case item activation or completion using event triggers, multiple conditions, and evaluation modes.
Instructions
Creates a CMMN Sentry with optional CMMN 1.1 enhancements (multiple conditions, evaluation modes).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | Case ID (@rid format) | |
| condition | No | Condition expression or description for AI to evaluate | |
| condition_logic | No | How to combine conditions: 'and' (all) or 'or' (any) | |
| condition_type | No | How to interpret condition: expression or description | |
| conditions | No | Array of conditions: [{source_ref, event, condition, logic}] for complex sentries | |
| description | No | Detailed explanation of the criterion | |
| evaluation_mode | No | onPart (remember satisfied parts - default) or onEvent (re-evaluate each time) | |
| exit_type | No | For exit sentries: 'exit' (abort), 'complete' (success), 'forceComplete' (force) | |
| guards_item | No | Item ID this sentry guards (task, stage, milestone) | |
| name | Yes | Sentry name/description | |
| parent_id | No | Parent item ID (for hierarchical nesting) | |
| required | No | Is this sentry required for parent stage auto-complete? Default: true | |
| sentry_type | Yes | Type: entry (guards activation) or exit (guards completion) | |
| source_ref | No | Item ID to watch for events (e.g., task that must complete) | |
| standard_event | No | Event that triggers evaluation: complete, terminate, create, update, delete, occur |