add_data_object
Add a BPMN data object reference and its backing data object to a process, with options for position, collection, and item definition.
Instructions
Add a BPMN data object reference and its non-rendered backing data object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the data object and its visible reference | |
| ownerId | No | Owning process ID (required when adding to a collaboration with multiple pools) | |
| scopeId | No | Containing process or subprocess ID (defaults to ownerId) | |
| position | No | Position of the visible data object reference | |
| isCollection | No | Whether the backing bpmn:DataObject represents a collection | |
| itemSubjectRef | No | ID of an existing bpmn:ItemDefinition referenced by the backing data object |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Active BPMN filename | |
| referenceId | Yes | Stable generated or existing BPMN ID | |
| dataObjectId | Yes | Stable generated or existing BPMN ID |