An example of the XML of a pool is:
<bpmn2:collaboration id="Collaboration_0kgbwi1"> <bpmn2:participant id="Participant_1i6u1my" processRef="Process_1d9yxsm" /> <bpmn2:participant id="Participant_10umhbc" processRef="Process_1piiyp4" /> </bpmn2:collaboration>
An example of the XML of a lane is:
<bpmn2:process id="Process_1d9yxsm"> <bpmn2:laneSet id="LaneSet_1b8nhx7"> <bpmn2:lane id="Lane_104t61m" name="HR Department"> <bpmn2:flowNodeRef>Event_0b61hqt</bpmn2:flowNodeRef> <bpmn2:flowNodeRef>Gateway_1dmrhcn</bpmn2:flowNodeRef> </bpmn2:lane> <bpmn2:lane id="Lane_1i3x8rz" name="Finance Department"> <bpmn2:flowNodeRef>Task_16ju082</bpmn2:flowNodeRef> <bpmn2:flowNodeRef>Event_00acemq</bpmn2:flowNodeRef> </bpmn2:lane> </bpmn2:laneSet>