<?xml version="1.0" encoding="utf-8"?>
<bpmn:definitions 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_1">
    <bpmn:participant id="Participant_1" name="Digital Onboarding" processRef="Process_1"/>
  </bpmn:collaboration>
  <bpmn:process id="Process_1" name="Digital Onboarding" isExecutable="false">
    <bpmn:laneSet id="LaneSet_Process_1">
      <bpmn:lane id="Lane_1" name="Warehouse Department">
        <bpmn:flowNodeRef>Gateway_3</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_4</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_5</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_6</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_8</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_14</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>End_29</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_2" name="Procurement Department">
        <bpmn:flowNodeRef>Start_28</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_1</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_3" name="Procurement Order Manager">
        <bpmn:flowNodeRef>Task_2</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_4" name="Finance/Account Department">
        <bpmn:flowNodeRef>Gateway_13</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_15</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_16</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_17</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="Start_28" name="Case starts"/>
    <bpmn:task id="Task_1" name="Create Purchase Order">
      <bpmn:documentation>{&quot;cases&quot;: 1598, &quot;events&quot;: 1598, &quot;lane&quot;: &quot;Procurement Department&quot;, &quot;lane_purity&quot;: 1.0}</bpmn:documentation>
    </bpmn:task>
    <bpmn:task id="Task_2" name="Approve Purchase Order">
      <bpmn:documentation>{&quot;cases&quot;: 1598, &quot;events&quot;: 1598, &quot;lane&quot;: &quot;Procurement Order Manager&quot;, &quot;lane_purity&quot;: 1.0}</bpmn:documentation>
    </bpmn:task>
    <bpmn:parallelGateway id="Gateway_3" name="both">
      <bpmn:documentation>{&quot;activity&quot;: &quot;Create Goods Receipt&quot;, &quot;cut&quot;: &quot;concurrent-activity&quot;, &quot;support&quot;: 1598, &quot;why&quot;: &quot;no cut separates Create Goods Receipt from the rest of this block, and taking it out lets the rest be structured&quot;}</bpmn:documentation>
    </bpmn:parallelGateway>
    <bpmn:parallelGateway id="Gateway_4">
      <bpmn:documentation>closes Gateway_3</bpmn:documentation>
    </bpmn:parallelGateway>
    <bpmn:exclusiveGateway id="Gateway_5">
      <bpmn:documentation>loop entry</bpmn:documentation>
    </bpmn:exclusiveGateway>
    <bpmn:exclusiveGateway id="Gateway_6" name="again?">
      <bpmn:documentation>{&quot;support&quot;: 1598}</bpmn:documentation>
    </bpmn:exclusiveGateway>
    <bpmn:task id="Task_8" name="Create Goods Receipt">
      <bpmn:documentation>{&quot;cases&quot;: 1598, &quot;events&quot;: 4042, &quot;lane&quot;: &quot;Warehouse Department&quot;, &quot;lane_purity&quot;: 1.0}</bpmn:documentation>
    </bpmn:task>
    <bpmn:exclusiveGateway id="Gateway_13" name="carry on?">
      <bpmn:documentation>{&quot;cut&quot;: &quot;optional&quot;, &quot;of&quot;: 1598, &quot;reached&quot;: 927, &quot;skipped&quot;: 671, &quot;support&quot;: 1598, &quot;why&quot;: &quot;671 of 1598 cases do not do this block at all&quot;}</bpmn:documentation>
    </bpmn:exclusiveGateway>
    <bpmn:exclusiveGateway id="Gateway_14">
      <bpmn:documentation>closes Gateway_13</bpmn:documentation>
    </bpmn:exclusiveGateway>
    <bpmn:exclusiveGateway id="Gateway_15">
      <bpmn:documentation>loop entry</bpmn:documentation>
    </bpmn:exclusiveGateway>
    <bpmn:exclusiveGateway id="Gateway_16" name="again?">
      <bpmn:documentation>{&quot;cut&quot;: &quot;repeat&quot;, &quot;repeats&quot;: {&quot;1&quot;: 739, &quot;2&quot;: 146, &quot;3&quot;: 34, &quot;4&quot;: 7, &quot;5&quot;: 1}, &quot;support&quot;: 927, &quot;why&quot;: &quot;Execute Payment repeats within a case: 1x in 739 cases, 2x in 146 cases, 3x in 34 cases, 4x in 7 cases, 5x in 1 cases&quot;}</bpmn:documentation>
    </bpmn:exclusiveGateway>
    <bpmn:task id="Task_17" name="Execute Payment">
      <bpmn:documentation>{&quot;cases&quot;: 927, &quot;events&quot;: 1166, &quot;lane&quot;: &quot;Finance/Account Department&quot;, &quot;lane_purity&quot;: 1.0}</bpmn:documentation>
    </bpmn:task>
    <bpmn:endEvent id="End_29" name="Case ends"/>
    <bpmn:sequenceFlow id="Flow_7" sourceRef="Gateway_5" targetRef="Gateway_6"/>
    <bpmn:sequenceFlow id="Flow_9" sourceRef="Gateway_6" targetRef="Task_8" name="again"/>
    <bpmn:sequenceFlow id="Flow_10" sourceRef="Task_8" targetRef="Gateway_5"/>
    <bpmn:sequenceFlow id="Flow_11" sourceRef="Gateway_3" targetRef="Gateway_5"/>
    <bpmn:sequenceFlow id="Flow_12" sourceRef="Gateway_6" targetRef="Gateway_4"/>
    <bpmn:sequenceFlow id="Flow_18" sourceRef="Gateway_15" targetRef="Task_17"/>
    <bpmn:sequenceFlow id="Flow_19" sourceRef="Task_17" targetRef="Gateway_16"/>
    <bpmn:sequenceFlow id="Flow_20" sourceRef="Gateway_16" targetRef="Gateway_15" name="again"/>
    <bpmn:sequenceFlow id="Flow_21" sourceRef="Gateway_13" targetRef="Gateway_15" name="927 cases"/>
    <bpmn:sequenceFlow id="Flow_22" sourceRef="Gateway_16" targetRef="Gateway_14"/>
    <bpmn:sequenceFlow id="Flow_23" sourceRef="Gateway_13" targetRef="Gateway_14" name="671 skip it"/>
    <bpmn:sequenceFlow id="Flow_24" sourceRef="Gateway_3" targetRef="Gateway_13"/>
    <bpmn:sequenceFlow id="Flow_25" sourceRef="Gateway_14" targetRef="Gateway_4"/>
    <bpmn:sequenceFlow id="Flow_26" sourceRef="Task_1" targetRef="Task_2"/>
    <bpmn:sequenceFlow id="Flow_27" sourceRef="Task_2" targetRef="Gateway_3"/>
    <bpmn:sequenceFlow id="Flow_30" sourceRef="Start_28" targetRef="Task_1"/>
    <bpmn:sequenceFlow id="Flow_31" sourceRef="Gateway_4" targetRef="End_29"/>
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1">
      <bpmndi:BPMNShape id="Shape_Participant_1" bpmnElement="Participant_1" isHorizontal="true">
        <dc:Bounds x="40" y="40" width="1072.5" height="994"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_4" bpmnElement="Lane_4" isHorizontal="true">
        <dc:Bounds x="70" y="789.5" width="1042.5" height="244.5"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_3" bpmnElement="Lane_3" isHorizontal="true">
        <dc:Bounds x="70" y="649.5" width="1042.5" height="140"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_2" bpmnElement="Lane_2" isHorizontal="true">
        <dc:Bounds x="70" y="466" width="1042.5" height="183.5"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Lane_1" bpmnElement="Lane_1" isHorizontal="true">
        <dc:Bounds x="70" y="80" width="1042.5" height="386"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Start_28" bpmnElement="Start_28">
        <dc:Bounds x="137.25" y="496" width="36" height="36"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds x="150.45" y="584" width="96" height="30"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Task_1" bpmnElement="Task_1">
        <dc:Bounds x="235.5" y="496" width="100" height="80"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Task_2" bpmnElement="Task_2">
        <dc:Bounds x="385.5" y="679.5" width="100" height="80"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_3" bpmnElement="Gateway_3">
        <dc:Bounds x="535.5" y="200" width="50" height="50"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds x="512.5" y="164" width="96" height="30"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_4" bpmnElement="Gateway_4">
        <dc:Bounds x="883" y="300" width="50" height="50"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_5" bpmnElement="Gateway_5">
        <dc:Bounds x="646.75" y="200" width="50" height="50"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_6" bpmnElement="Gateway_6">
        <dc:Bounds x="758" y="200" width="50" height="50"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds x="735" y="164" width="96" height="30"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Task_8" bpmnElement="Task_8">
        <dc:Bounds x="858" y="200" width="100" height="80"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_13" bpmnElement="Gateway_13">
        <dc:Bounds x="646.75" y="860.5" width="50" height="50"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds x="580.55" y="824.5" width="96" height="30"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_14" bpmnElement="Gateway_14">
        <dc:Bounds x="758" y="300" width="50" height="50"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_15" bpmnElement="Gateway_15">
        <dc:Bounds x="758" y="860.5" width="50" height="50"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Gateway_16" bpmnElement="Gateway_16">
        <dc:Bounds x="130.25" y="860.5" width="50" height="50"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds x="150.45" y="824.5" width="96" height="30"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_Task_17" bpmnElement="Task_17">
        <dc:Bounds x="858" y="860.5" width="100" height="80"/>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Shape_End_29" bpmnElement="End_29">
        <dc:Bounds x="1014.75" y="200" width="36" height="36"/>
        <bpmndi:BPMNLabel>
          <dc:Bounds x="984.75" y="242" width="96" height="30"/>
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Edge_Flow_7" bpmnElement="Flow_7">
        <di:waypoint x="696.75" y="225"/>
        <di:waypoint x="758" y="225"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_9" bpmnElement="Flow_9">
        <di:waypoint x="808" y="225"/>
        <di:waypoint x="833" y="225"/>
        <di:waypoint x="833" y="240"/>
        <di:waypoint x="858" y="240"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_10" bpmnElement="Flow_10">
        <di:waypoint x="908" y="200"/>
        <di:waypoint x="908" y="150"/>
        <di:waypoint x="671.75" y="150"/>
        <di:waypoint x="671.75" y="200"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_11" bpmnElement="Flow_11">
        <di:waypoint x="585.5" y="225"/>
        <di:waypoint x="646.75" y="225"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_12" bpmnElement="Flow_12">
        <di:waypoint x="777.5" y="250"/>
        <di:waypoint x="777.5" y="316.6666666666667"/>
        <di:waypoint x="883" y="316.6666666666667"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_18" bpmnElement="Flow_18">
        <di:waypoint x="808" y="885.5"/>
        <di:waypoint x="833" y="885.5"/>
        <di:waypoint x="833" y="900.5"/>
        <di:waypoint x="858" y="900.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_19" bpmnElement="Flow_19">
        <di:waypoint x="908" y="940.5"/>
        <di:waypoint x="908" y="990.5"/>
        <di:waypoint x="155.25" y="990.5"/>
        <di:waypoint x="155.25" y="910.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_20" bpmnElement="Flow_20">
        <di:waypoint x="180.25" y="885.5"/>
        <di:waypoint x="469.125" y="885.5"/>
        <di:waypoint x="469.125" y="877.1666666666666"/>
        <di:waypoint x="758" y="877.1666666666666"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_21" bpmnElement="Flow_21">
        <di:waypoint x="696.75" y="885.5"/>
        <di:waypoint x="727.375" y="885.5"/>
        <di:waypoint x="727.375" y="893.8333333333334"/>
        <di:waypoint x="758" y="893.8333333333334"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_22" bpmnElement="Flow_22">
        <di:waypoint x="149.75" y="860.5"/>
        <di:waypoint x="149.75" y="316.6666666666667"/>
        <di:waypoint x="758" y="316.6666666666667"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_23" bpmnElement="Flow_23">
        <di:waypoint x="677.25" y="860.5"/>
        <di:waypoint x="677.25" y="333.3333333333333"/>
        <di:waypoint x="758" y="333.3333333333333"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_24" bpmnElement="Flow_24">
        <di:waypoint x="560.5" y="250"/>
        <di:waypoint x="560.5" y="885.5"/>
        <di:waypoint x="646.75" y="885.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_25" bpmnElement="Flow_25">
        <di:waypoint x="808" y="325"/>
        <di:waypoint x="845.5" y="325"/>
        <di:waypoint x="845.5" y="333.3333333333333"/>
        <di:waypoint x="883" y="333.3333333333333"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_26" bpmnElement="Flow_26">
        <di:waypoint x="335.5" y="536"/>
        <di:waypoint x="360.5" y="536"/>
        <di:waypoint x="360.5" y="719.5"/>
        <di:waypoint x="385.5" y="719.5"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_27" bpmnElement="Flow_27">
        <di:waypoint x="485.5" y="719.5"/>
        <di:waypoint x="510.5" y="719.5"/>
        <di:waypoint x="510.5" y="225"/>
        <di:waypoint x="535.5" y="225"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_30" bpmnElement="Flow_30">
        <di:waypoint x="173.25" y="514"/>
        <di:waypoint x="204.375" y="514"/>
        <di:waypoint x="204.375" y="536"/>
        <di:waypoint x="235.5" y="536"/>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Edge_Flow_31" bpmnElement="Flow_31">
        <di:waypoint x="933" y="325"/>
        <di:waypoint x="973.875" y="325"/>
        <di:waypoint x="973.875" y="218"/>
        <di:waypoint x="1014.75" y="218"/>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
