add_swimlane
Creates a swimlane (actor lane) for the process. A lane groups the tasks performed by the same role/system. The actor is required (e.g. 'Customer', 'Accounting', 'ERP'). For a process involving several parties: one lane per actor, created before the tasks, with its laneId referenced in the kindMetadata of each task.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique ID of the lane (kebab-case, e.g. 'lane-customer'). | |
| name | No | Name shown on the lane. If absent, the actor is used as the name. A shorter label is possible (e.g. 'Accounting' for actor='Accounting department') | |
| actor | Yes | Actor, role or system performing the tasks of the lane. E.g. 'Customer', 'Accounting department', 'ERP system'. | |
| order | No | Vertical position in the pool (0 = top). If absent, the lane is stacked below the lowest existing one. | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |