Pools and Lanes in fluent api

I need to create participant pools and lanes in BPMN Model with Fluent API Builder.
Please help me on this.

Thanks in advance

Hi @Aneesh and welcome to the forum,

I think, the fluent API does not support Pools and Lanes. However, you can use the general model API to create them:
https://docs.camunda.org/javadoc/camunda-bpm-platform/7.18/org/camunda/bpm/model/bpmn/instance/package-summary.html

Using the model API, you can add a Participant element to the model. The participant is a pool:
https://docs.camunda.org/javadoc/camunda-bpm-platform/7.18/org/camunda/bpm/model/bpmn/instance/Participant.html
Each participant has a process that you can set/update.

1 Like