add_association
Add a BPMN association between two elements by providing their source and target IDs and an optional arrow direction.
Instructions
Add a BPMN association artifact between two compatible BaseElements
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | Yes | ID of the source BaseElement | |
| targetId | Yes | ID of the target BaseElement | |
| associationDirection | No | Arrow direction for the association; BPMN defaults to None | None |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Active BPMN filename | |
| sourceId | Yes | Stable generated or existing BPMN ID | |
| targetId | Yes | Stable generated or existing BPMN ID | |
| associationId | Yes | Stable generated or existing BPMN ID | |
| associationDirection | Yes |