The following code shows the XML serialization of the process:
<?xml version="1.0" encoding="UTF-8"?> <bpmn:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn"> <bpmn:collaboration id="Collaboration_0sd9n5o"> <bpmn:participant id="Participant_1c3ytk2" processRef="Process_1" /> </bpmn:collaboration> <bpmn:process id="Process_1" isExecutable="false"> <bpmn:laneSet id="LaneSet_1mr4o7n"> <bpmn:lane id="Lane_0o4mnrp" /> <bpmn:lane id="Lane_0895aa0"> <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_14wfikz</bpmn:flowNodeRef> </bpmn:lane> <bpmn:lane id="Lane_10wy88b"> <bpmn:flowNodeRef>Activity_14x66yf</bpmn:flowNodeRef> <bpmn:flowNodeRef>Gateway_09941ya</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_0afe4fc</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1tef4el</bpmn:flowNodeRef> <bpmn:flowNodeRef>Gateway_1xjnl7i</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_18nutyc</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1kcv96i</bpmn:flowNodeRef> <bpmn:childLaneSet id="LaneSet_1uyi07j"> <bpmn:lane id="Lane_1n5eyjb"> <bpmn:flowNodeRef>Activity_14x66yf</bpmn:flowNodeRef> <bpmn:flowNodeRef>Gateway_09941ya</bpmn:flowNodeRef> <bpmn:flowNodeRef>Gateway_1xjnl7i</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_18nutyc</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1kcv96i</bpmn:flowNodeRef> </bpmn:lane> <bpmn:lane id="Lane_1qeup8x"> <bpmn:flowNodeRef>Activity_0afe4fc</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1tef4el</bpmn:flowNodeRef> </bpmn:lane> </bpmn:childLaneSet> </bpmn:lane> </bpmn:laneSet> <bpmn:startEvent id="StartEvent_1"> <bpmn:outgoing>Flow_1p0yyfk</bpmn:outgoing> </bpmn:startEvent> <bpmn:task id="Activity_14wfikz"> <bpmn:incoming>Flow_1p0yyfk</bpmn:incoming> <bpmn:outgoing>Flow_0ibgb44</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_1p0yyfk" sourceRef="StartEvent_1" targetRef="Activity_14wfikz" /> <bpmn:task id="Activity_14x66yf"> <bpmn:incoming>Flow_0ibgb44</bpmn:incoming> <bpmn:outgoing>Flow_0pc43t7</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_0ibgb44" sourceRef="Activity_14wfikz" targetRef="Activity_14x66yf" /> <bpmn:sequenceFlow id="Flow_0pc43t7" sourceRef="Activity_14x66yf" targetRef="Gateway_09941ya" /> <bpmn:parallelGateway id="Gateway_09941ya"> <bpmn:incoming>Flow_0pc43t7</bpmn:incoming> <bpmn:outgoing>Flow_1kyne41</bpmn:outgoing> <bpmn:outgoing>Flow_1mjhldd</bpmn:outgoing> </bpmn:parallelGateway> <bpmn:sequenceFlow id="Flow_1kyne41" sourceRef="Gateway_09941ya" targetRef="Activity_18nutyc" /> <bpmn:task id="Activity_0afe4fc"> <bpmn:incoming>Flow_1mjhldd</bpmn:incoming> <bpmn:outgoing>Flow_15p4x4q</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_1mjhldd" sourceRef="Gateway_09941ya" targetRef="Activity_0afe4fc" /> <bpmn:task id="Activity_1tef4el"> <bpmn:incoming>Flow_15p4x4q</bpmn:incoming> <bpmn:outgoing>Flow_1b02nyk</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_15p4x4q" sourceRef="Activity_0afe4fc" targetRef="Activity_1tef4el" /> <bpmn:exclusiveGateway id="Gateway_1xjnl7i"> <bpmn:incoming>Flow_1b02nyk</bpmn:incoming> <bpmn:incoming>Flow_124x2vb</bpmn:incoming> <bpmn:outgoing>Flow_08aj585</bpmn:outgoing> </bpmn:exclusiveGateway> <bpmn:sequenceFlow id="Flow_1b02nyk" sourceRef="Activity_1tef4el" targetRef="Gateway_1xjnl7i" /> <bpmn:sequenceFlow id="Flow_124x2vb" sourceRef="Activity_18nutyc" targetRef="Gateway_1xjnl7i" /> <bpmn:task id="Activity_18nutyc"> <bpmn:incoming>Flow_1kyne41</bpmn:incoming> <bpmn:outgoing>Flow_124x2vb</bpmn:outgoing> </bpmn:task> <bpmn:task id="Activity_1kcv96i"> <bpmn:incoming>Flow_08aj585</bpmn:incoming> </bpmn:task> <bpmn:sequenceFlow id="Flow_08aj585" sourceRef="Gateway_1xjnl7i" targetRef="Activity_1kcv96i" /> </bpmn:process> <bpmndi:BPMNDiagram id="BPMNDiagram_1"> <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_0sd9n5o"> <bpmndi:BPMNShape id="Participant_1c3ytk2_di" bpmnElement="Participant_1c3ytk2" isHorizontal="true"> <dc:Bounds x="370" y="30" width="1140" height="480" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_0o4mnrp_di" bpmnElement="Lane_0o4mnrp" isHorizontal="true"> <dc:Bounds x="400" y="30" width="1110" height="120" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_0895aa0_di" bpmnElement="Lane_0895aa0" isHorizontal="true"> <dc:Bounds x="400" y="150" width="1110" height="150" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_10wy88b_di" bpmnElement="Lane_10wy88b" isHorizontal="true"> <dc:Bounds x="400" y="300" width="1110" height="210" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_1n5eyjb_di" bpmnElement="Lane_1n5eyjb" isHorizontal="true"> <dc:Bounds x="430" y="300" width="1080" height="105" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_1qeup8x_di" bpmnElement="Lane_1qeup8x" isHorizontal="true"> <dc:Bounds x="430" y="405" width="1080" height="105" /> </bpmndi:BPMNShape> <bpmndi:BPMNEdge id="Flow_1p0yyfk_di" bpmnElement="Flow_1p0yyfk"> <di:waypoint x="458" y="220" /> <di:waypoint x="510" y="220" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0ibgb44_di" bpmnElement="Flow_0ibgb44"> <di:waypoint x="560" y="260" /> <di:waypoint x="560" y="360" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0pc43t7_di" bpmnElement="Flow_0pc43t7"> <di:waypoint x="610" y="400" /> <di:waypoint x="645" y="400" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1kyne41_di" bpmnElement="Flow_1kyne41"> <di:waypoint x="670" y="375" /> <di:waypoint x="670" y="353" /> <di:waypoint x="740" y="353" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1mjhldd_di" bpmnElement="Flow_1mjhldd"> <di:waypoint x="670" y="425" /> <di:waypoint x="670" y="460" /> <di:waypoint x="740" y="460" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_15p4x4q_di" bpmnElement="Flow_15p4x4q"> <di:waypoint x="840" y="460" /> <di:waypoint x="880" y="460" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1b02nyk_di" bpmnElement="Flow_1b02nyk"> <di:waypoint x="980" y="460" /> <di:waypoint x="1020" y="460" /> <di:waypoint x="1020" y="425" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_124x2vb_di" bpmnElement="Flow_124x2vb"> <di:waypoint x="840" y="353" /> <di:waypoint x="1020" y="353" /> <di:waypoint x="1020" y="375" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_08aj585_di" bpmnElement="Flow_08aj585"> <di:waypoint x="1045" y="400" /> <di:waypoint x="1080" y="400" /> </bpmndi:BPMNEdge> <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> <dc:Bounds x="422" y="202" width="36" height="36" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_14wfikz_di" bpmnElement="Activity_14wfikz"> <dc:Bounds x="510" y="180" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_14x66yf_di" bpmnElement="Activity_14x66yf"> <dc:Bounds x="510" y="360" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_1er8vqz_di" bpmnElement="Gateway_09941ya"> <dc:Bounds x="645" y="375" width="50" height="50" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_0afe4fc_di" bpmnElement="Activity_0afe4fc"> <dc:Bounds x="740" y="420" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_1tef4el_di" bpmnElement="Activity_1tef4el"> <dc:Bounds x="880" y="420" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_1xjnl7i_di" bpmnElement="Gateway_1xjnl7i" isMarkerVisible="true"> <dc:Bounds x="995" y="375" width="50" height="50" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_18nutyc_di" bpmnElement="Activity_18nutyc"> <dc:Bounds x="740" y="313" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_1kcv96i_di" bpmnElement="Activity_1kcv96i"> <dc:Bounds x="1080" y="360" width="100" height="80" /> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn:definitions>