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" name="HR department"> <bpmn:flowNodeRef>Activity_09slg75</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1tzubt0</bpmn:flowNodeRef> </bpmn:lane> <bpmn:lane id="Lane_0895aa0" name="Requesting department"> <bpmn:flowNodeRef>Activity_0tcxas2</bpmn:flowNodeRef> <bpmn:flowNodeRef>Event_07kc65x</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_14wfikz</bpmn:flowNodeRef> <bpmn:flowNodeRef>StartEvent_1</bpmn:flowNodeRef> </bpmn:lane> <bpmn:lane id="Lane_10wy88b" name="IT DEPARTMENT"> <bpmn:flowNodeRef>Activity_0afe4fc</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1tef4el</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_1kcv96i</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_18nutyc</bpmn:flowNodeRef> <bpmn:flowNodeRef>Gateway_1xjnl7i</bpmn:flowNodeRef> <bpmn:flowNodeRef>Gateway_09941ya</bpmn:flowNodeRef> <bpmn:flowNodeRef>Activity_14x66yf</bpmn:flowNodeRef> <bpmn:childLaneSet id="LaneSet_1uyi07j"> <bpmn:lane id="Lane_1n5eyjb"> <bpmn:flowNodeRef>Activity_18nutyc</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:sequenceFlow id="Flow_1p0yyfk" sourceRef="StartEvent_1" targetRef="Activity_14wfikz" /> <bpmn:sequenceFlow id="Flow_0ibgb44" sourceRef="Activity_14wfikz" targetRef="Activity_14x66yf" /> <bpmn:sequenceFlow id="Flow_0pc43t7" sourceRef="Activity_14x66yf" targetRef="Gateway_09941ya" /> <bpmn:sequenceFlow id="Flow_1kyne41" sourceRef="Gateway_09941ya" targetRef="Activity_18nutyc" /> <bpmn:task id="Activity_0afe4fc" name="relocate user account"> <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" name="set up administrative rights"> <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:sequenceFlow id="Flow_1b02nyk" sourceRef="Activity_1tef4el" targetRef="Gateway_1xjnl7i" /> <bpmn:sequenceFlow id="Flow_124x2vb" sourceRef="Activity_18nutyc" targetRef="Gateway_1xjnl7i" /> <bpmn:sequenceFlow id="Flow_08aj585" sourceRef="Gateway_1xjnl7i" targetRef="Activity_1kcv96i" /> <bpmn:task id="Activity_1kcv96i" name="inform HR department"> <bpmn:incoming>Flow_08aj585</bpmn:incoming> <bpmn:outgoing>Flow_0obu7o9</bpmn:outgoing> </bpmn:task> <bpmn:task id="Activity_18nutyc" name="prepare the workstation"> <bpmn:incoming>Flow_1kyne41</bpmn:incoming> <bpmn:outgoing>Flow_124x2vb</bpmn:outgoing> </bpmn:task> <bpmn:parallelGateway id="Gateway_1xjnl7i"> <bpmn:incoming>Flow_1b02nyk</bpmn:incoming> <bpmn:incoming>Flow_124x2vb</bpmn:incoming> <bpmn:outgoing>Flow_08aj585</bpmn:outgoing> </bpmn:parallelGateway> <bpmn:task id="Activity_09slg75" name="update operational matrix"> <bpmn:incoming>Flow_0obu7o9</bpmn:incoming> <bpmn:outgoing>Flow_1lohsy0</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_0obu7o9" sourceRef="Activity_1kcv96i" targetRef="Activity_09slg75" /> <bpmn:task id="Activity_1tzubt0" name="inform requesting department"> <bpmn:incoming>Flow_1lohsy0</bpmn:incoming> <bpmn:outgoing>Flow_04zyt4y</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_1lohsy0" sourceRef="Activity_09slg75" targetRef="Activity_1tzubt0" /> <bpmn:task id="Activity_0tcxas2" name="inform employee"> <bpmn:incoming>Flow_04zyt4y</bpmn:incoming> <bpmn:outgoing>Flow_1wtnmub</bpmn:outgoing> </bpmn:task> <bpmn:sequenceFlow id="Flow_04zyt4y" sourceRef="Activity_1tzubt0" targetRef="Activity_0tcxas2" /> <bpmn:endEvent id="Event_07kc65x" name="move is finished"> <bpmn:incoming>Flow_1wtnmub</bpmn:incoming> </bpmn:endEvent> <bpmn:sequenceFlow id="Flow_1wtnmub" sourceRef="Activity_0tcxas2" targetRef="Event_07kc65x" /> <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:task id="Activity_14x66yf" name="task the responsible departments"> <bpmn:incoming>Flow_0ibgb44</bpmn:incoming> <bpmn:outgoing>Flow_0pc43t7</bpmn:outgoing> </bpmn:task> <bpmn:task id="Activity_14wfikz" name="request the move"> <bpmn:incoming>Flow_1p0yyfk</bpmn:incoming> <bpmn:outgoing>Flow_0ibgb44</bpmn:outgoing> </bpmn:task> <bpmn:startEvent id="StartEvent_1" name="employee changes department"> <bpmn:outgoing>Flow_1p0yyfk</bpmn:outgoing> </bpmn:startEvent> </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_10wy88b_di" bpmnElement="Lane_10wy88b" isHorizontal="true"> <dc:Bounds x="400" y="290" width="1110" height="220" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_1qeup8x_di" bpmnElement="Lane_1qeup8x" isHorizontal="true"> <dc:Bounds x="430" y="400" width="1080" height="110" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_1n5eyjb_di" bpmnElement="Lane_1n5eyjb" isHorizontal="true"> <dc:Bounds x="430" y="290" width="1080" height="110" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Lane_0895aa0_di" bpmnElement="Lane_0895aa0" isHorizontal="true"> <dc:Bounds x="400" y="150" width="1110" height="140" /> </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:BPMNEdge id="Flow_08aj585_di" bpmnElement="Flow_08aj585"> <di:waypoint x="1045" y="400" /> <di:waypoint x="1110" y="400" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_124x2vb_di" bpmnElement="Flow_124x2vb"> <di:waypoint x="840" y="340" /> <di:waypoint x="1020" y="340" /> <di:waypoint x="1020" y="375" /> </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_15p4x4q_di" bpmnElement="Flow_15p4x4q"> <di:waypoint x="840" y="460" /> <di:waypoint x="880" y="460" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1mjhldd_di" bpmnElement="Flow_1mjhldd"> <di:waypoint x="700" y="425" /> <di:waypoint x="700" y="460" /> <di:waypoint x="740" y="460" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1kyne41_di" bpmnElement="Flow_1kyne41"> <di:waypoint x="700" y="375" /> <di:waypoint x="700" y="340" /> <di:waypoint x="740" y="340" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0pc43t7_di" bpmnElement="Flow_0pc43t7"> <di:waypoint x="640" y="400" /> <di:waypoint x="675" y="400" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0ibgb44_di" bpmnElement="Flow_0ibgb44"> <di:waypoint x="590" y="260" /> <di:waypoint x="590" y="360" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1p0yyfk_di" bpmnElement="Flow_1p0yyfk"> <di:waypoint x="508" y="220" /> <di:waypoint x="540" y="220" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_0obu7o9_di" bpmnElement="Flow_0obu7o9"> <di:waypoint x="1160" y="360" /> <di:waypoint x="1160" y="130" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1lohsy0_di" bpmnElement="Flow_1lohsy0"> <di:waypoint x="1210" y="90" /> <di:waypoint x="1260" y="90" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_04zyt4y_di" bpmnElement="Flow_04zyt4y"> <di:waypoint x="1310" y="130" /> <di:waypoint x="1310" y="190" /> </bpmndi:BPMNEdge> <bpmndi:BPMNEdge id="Flow_1wtnmub_di" bpmnElement="Flow_1wtnmub"> <di:waypoint x="1360" y="230" /> <di:waypoint x="1422" y="230" /> </bpmndi:BPMNEdge> <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="Activity_1kcv96i_di" bpmnElement="Activity_1kcv96i"> <dc:Bounds x="1110" y="360" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_18nutyc_di" bpmnElement="Activity_18nutyc"> <dc:Bounds x="740" y="300" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_1pokufx_di" bpmnElement="Gateway_1xjnl7i"> <dc:Bounds x="995" y="375" width="50" height="50" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_09slg75_di" bpmnElement="Activity_09slg75"> <dc:Bounds x="1110" y="50" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_1tzubt0_di" bpmnElement="Activity_1tzubt0"> <dc:Bounds x="1260" y="50" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_0tcxas2_di" bpmnElement="Activity_0tcxas2"> <dc:Bounds x="1260" y="190" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Event_07kc65x_di" bpmnElement="Event_07kc65x"> <dc:Bounds x="1422" y="212" width="36" height="36" /> <bpmndi:BPMNLabel> <dc:Bounds x="1401" y="255" width="79" height="14" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Gateway_1er8vqz_di" bpmnElement="Gateway_09941ya"> <dc:Bounds x="675" y="375" width="50" height="50" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_14x66yf_di" bpmnElement="Activity_14x66yf"> <dc:Bounds x="540" y="360" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="Activity_14wfikz_di" bpmnElement="Activity_14wfikz"> <dc:Bounds x="540" y="180" width="100" height="80" /> </bpmndi:BPMNShape> <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1"> <dc:Bounds x="472" y="202" width="36" height="36" /> <bpmndi:BPMNLabel> <dc:Bounds x="462" y="245" width="57" height="40" /> </bpmndi:BPMNLabel> </bpmndi:BPMNShape> </bpmndi:BPMNPlane> </bpmndi:BPMNDiagram> </bpmn:definitions>