cmmn-add_model_to_case
cmmn-add_model_to_caseAdd items from a Case Plan Model to an existing case by creating a container item that holds all model items as children, enabling management of the workflow as a unit.
Instructions
Adds items from a Case Plan Model to an existing case. Creates a 'model' container item that holds all model items as children, allowing the entire workflow to be managed as a unit. Returns model_item_id for the container.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| case_id | Yes | Case ID (@rid format) | |
| model_id | Yes | Model ID (@rid format) | |
| prefix | No | Optional prefix for item names to avoid conflicts (e.g., 'Invoice: ') |