create_bpmn_participant
Create BPMN participant pools (swimlanes) for single or multi-pool collaborations, wrapping existing processes, and defining lanes for role separation.
Instructions
Create participant(s) (pools) in a BPMN diagram. Single pool: pass name. Wrap existing process: set wrapExisting=true. Multi-pool collaboration: pass participants array (min 2). Camunda 7: only one pool is executable; additional pools must be collapsed. For role separation within one organization, use lanes inside one pool — not multiple expanded pools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate (default: 300) | |
| y | No | Y coordinate (default: auto-positioned below existing participants) | |
| name | No | Participant/pool name (for single-pool mode) | |
| lanes | No | Optional lanes to create within this participant (requires at least 2). | |
| width | No | Pool width in pixels (default: 600) | |
| height | No | Pool height in pixels (default: 250) | |
| collapsed | No | If true, creates a collapsed pool (thin bar). Use for non-executable partner pools. | |
| diagramId | Yes | The diagram ID | |
| processId | No | Optional process ID for the participant's process reference (e.g. "Process_OrderHandling"). | |
| participants | No | Multi-pool mode: create multiple participants at once (collaboration). Requires at least 2 entries. When provided, single-pool parameters (name, collapsed, etc.) are ignored. | |
| wrapExisting | No | When true, wraps the existing process flow nodes into a participant pool without duplicating elements. Use this to convert a plain process into a collaboration. Requires name to be set. | |
| participantId | No | Optional explicit element ID. If omitted, a descriptive ID is generated. | |
| additionalParticipants | No | Additional collapsed partner pools to create when using wrapExisting mode. Each entry creates a collapsed pool below the main pool. |