cmmn-add_discretionary_item
cmmn-add_discretionary_itemAdd a discretionary item to a running case by instantiating from a PlanItemDefinition that is marked as discretionary.
Instructions
Adds a discretionary item to a running case by instantiating from a PlanItemDefinition. The definition must be marked as discretionary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | Case ID to add the item to (@rid format) | |
| definition_id | Yes | PlanItemDefinition ID to instantiate (@rid format) | |
| name | No | Override the name from the model | |
| parent_id | No | Optional stage ID to add the item to (@rid format) | |
| status | No | Initial status (default: 'available') |