Is there a Fluent Builder for a Collaboration?

Hi,

I am able to create a Process via the ProcessBuilder, but I would like to now take it to the next level and include a Collaboration with a MessageFlow. Basically generating this block:

 <bpmn:collaboration id="Collaboration_1lvckev">
    <bpmn:participant id="Participant_15njl2g" processRef="Process_1ty1sq5" />
    <bpmn:participant id="Participant_0if83uz" processRef="Process_0mepcnt" />
    <bpmn:messageFlow id="MessageFlow_1sv2zpc" sourceRef="IntermediateThrowEvent_0ur0agy" targetRef="IntermediateThrowEvent_1ludjm6" />
  </bpmn:collaboration>

Is that possible with the Fluent Builder? If not, is there a way to generate this block, or should I start investigating how to write the code myself?

Thanks!

Brian

There is no fluent builder for pools / collaborations

Hi @StephenOTT,

If we go by model APIs (not fluent) for generation of pools / Collaborations then the diagram won’t be generated, right?

Will they support fluent api for pools in coming versions?

Regards,
Hetal