An example of the XML of a parallel gateway is:
<bpmn2:parallelGateway id="Fork_1"> <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="Fork_1" targetRef="UserTask_1" /> </bpmn2:sequenceFlow> <bpmn2:sequenceFlow id="SequenceFlow_2" sourceRef="Fork_1" targetRef="ServiceTask_1" /> </bpmn2:sequenceFlow> </bpmn2:parallelGateway>