<?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_procurement-approval" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:collaboration id="Collaboration_procurement-approval">
    <bpmn:participant id="Participant_procurement-approval" name="Procurement Approval" processRef="Process_procurement-approval" />
  </bpmn:collaboration>
  <bpmn:process id="Process_procurement-approval" name="Procurement Approval" isExecutable="true">
    <bpmn:laneSet id="LaneSet_procurement-approval">
      <bpmn:lane id="Lane_1" name="Requester"><bpmn:flowNodeRef>Start</bpmn:flowNodeRef><bpmn:flowNodeRef>Request</bpmn:flowNodeRef><bpmn:flowNodeRef>Receive</bpmn:flowNodeRef><bpmn:flowNodeRef>End</bpmn:flowNodeRef></bpmn:lane>
      <bpmn:lane id="Lane_2" name="Procurement"><bpmn:flowNodeRef>Check</bpmn:flowNodeRef><bpmn:flowNodeRef>Value</bpmn:flowNodeRef><bpmn:flowNodeRef>Order</bpmn:flowNodeRef></bpmn:lane>
      <bpmn:lane id="Lane_3" name="Department Head"><bpmn:flowNodeRef>ApproveHead</bpmn:flowNodeRef></bpmn:lane>
      <bpmn:lane id="Lane_4" name="CFO"><bpmn:flowNodeRef>ApproveCfo</bpmn:flowNodeRef></bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="Start" name="Need identified"><bpmn:outgoing>Flow_1</bpmn:outgoing></bpmn:startEvent>
    <bpmn:userTask id="Request" name="Create the purchase request"><bpmn:incoming>Flow_1</bpmn:incoming><bpmn:outgoing>Flow_2</bpmn:outgoing></bpmn:userTask>
    <bpmn:userTask id="Check" name="Check request and supplier"><bpmn:incoming>Flow_2</bpmn:incoming><bpmn:outgoing>Flow_3</bpmn:outgoing></bpmn:userTask>
    <bpmn:exclusiveGateway id="Value" name="Order value?"><bpmn:incoming>Flow_3</bpmn:incoming><bpmn:outgoing>Flow_4</bpmn:outgoing><bpmn:outgoing>Flow_5</bpmn:outgoing><bpmn:outgoing>Flow_6</bpmn:outgoing></bpmn:exclusiveGateway>
    <bpmn:userTask id="ApproveHead" name="Approve the purchase"><bpmn:incoming>Flow_5</bpmn:incoming><bpmn:outgoing>Flow_7</bpmn:outgoing></bpmn:userTask>
    <bpmn:userTask id="ApproveCfo" name="Approve the purchase"><bpmn:incoming>Flow_6</bpmn:incoming><bpmn:outgoing>Flow_8</bpmn:outgoing></bpmn:userTask>
    <bpmn:userTask id="Order" name="Place the order"><bpmn:incoming>Flow_4</bpmn:incoming><bpmn:incoming>Flow_7</bpmn:incoming><bpmn:incoming>Flow_8</bpmn:incoming><bpmn:outgoing>Flow_9</bpmn:outgoing></bpmn:userTask>
    <bpmn:userTask id="Receive" name="Receive and check the goods"><bpmn:incoming>Flow_9</bpmn:incoming><bpmn:outgoing>Flow_10</bpmn:outgoing></bpmn:userTask>
    <bpmn:endEvent id="End" name="Goods received"><bpmn:incoming>Flow_10</bpmn:incoming></bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1" sourceRef="Start" targetRef="Request" />
    <bpmn:sequenceFlow id="Flow_2" sourceRef="Request" targetRef="Check" />
    <bpmn:sequenceFlow id="Flow_3" sourceRef="Check" targetRef="Value" />
    <bpmn:sequenceFlow id="Flow_4" name="Up to 1,000" sourceRef="Value" targetRef="Order" />
    <bpmn:sequenceFlow id="Flow_5" name="Up to 10,000" sourceRef="Value" targetRef="ApproveHead" />
    <bpmn:sequenceFlow id="Flow_6" name="Above 10,000" sourceRef="Value" targetRef="ApproveCfo" />
    <bpmn:sequenceFlow id="Flow_7" sourceRef="ApproveHead" targetRef="Order" />
    <bpmn:sequenceFlow id="Flow_8" sourceRef="ApproveCfo" targetRef="Order" />
    <bpmn:sequenceFlow id="Flow_9" sourceRef="Order" targetRef="Receive" />
    <bpmn:sequenceFlow id="Flow_10" sourceRef="Receive" targetRef="End" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="Diagram_procurement-approval">
    <bpmndi:BPMNPlane id="Plane_procurement-approval" bpmnElement="Collaboration_procurement-approval">
      <bpmndi:BPMNShape id="Participant_procurement-approval_di" bpmnElement="Participant_procurement-approval" isHorizontal="true"><dc:Bounds x="160" y="80" width="1740" height="560" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_1_di" bpmnElement="Lane_1" isHorizontal="true"><dc:Bounds x="190" y="80" width="1710" height="140" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_2_di" bpmnElement="Lane_2" isHorizontal="true"><dc:Bounds x="190" y="220" width="1710" height="140" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_3_di" bpmnElement="Lane_3" isHorizontal="true"><dc:Bounds x="190" y="360" width="1710" height="140" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_4_di" bpmnElement="Lane_4" isHorizontal="true"><dc:Bounds x="190" y="500" width="1710" height="140" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Start_di" bpmnElement="Start"><dc:Bounds x="282" y="132" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="255" y="174" width="90" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Request_di" bpmnElement="Request"><dc:Bounds x="425" y="110" width="150" height="80" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Check_di" bpmnElement="Check"><dc:Bounds x="625" y="250" width="150" height="80" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Value_di" bpmnElement="Value" isMarkerVisible="true"><dc:Bounds x="875" y="265" width="50" height="50" /><bpmndi:BPMNLabel><dc:Bounds x="855" y="231" width="90" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ApproveHead_di" bpmnElement="ApproveHead"><dc:Bounds x="1025" y="390" width="150" height="80" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ApproveCfo_di" bpmnElement="ApproveCfo"><dc:Bounds x="1025" y="530" width="150" height="80" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Order_di" bpmnElement="Order"><dc:Bounds x="1225" y="250" width="150" height="80" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Receive_di" bpmnElement="Receive"><dc:Bounds x="1425" y="110" width="150" height="80" /></bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="End_di" bpmnElement="End"><dc:Bounds x="1682" y="132" width="36" height="36" /><bpmndi:BPMNLabel><dc:Bounds x="1655" y="174" width="90" height="27" /></bpmndi:BPMNLabel></bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1"><di:waypoint x="318" y="150" /><di:waypoint x="425" y="150" /></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2"><di:waypoint x="575" y="150" /><di:waypoint x="600" y="150" /><di:waypoint x="600" y="290" /><di:waypoint x="625" y="290" /></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_3_di" bpmnElement="Flow_3"><di:waypoint x="775" y="290" /><di:waypoint x="875" y="290" /></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_4_di" bpmnElement="Flow_4"><di:waypoint x="925" y="290" /><di:waypoint x="1225" y="290" /><bpmndi:BPMNLabel><dc:Bounds x="933" y="270" width="30" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_5_di" bpmnElement="Flow_5"><di:waypoint x="900" y="315" /><di:waypoint x="900" y="430" /><di:waypoint x="1025" y="430" /><bpmndi:BPMNLabel><dc:Bounds x="912" y="410" width="30" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_6_di" bpmnElement="Flow_6"><di:waypoint x="900" y="315" /><di:waypoint x="900" y="570" /><di:waypoint x="1025" y="570" /><bpmndi:BPMNLabel><dc:Bounds x="912" y="550" width="30" height="14" /></bpmndi:BPMNLabel></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_7_di" bpmnElement="Flow_7"><di:waypoint x="1175" y="430" /><di:waypoint x="1200" y="430" /><di:waypoint x="1200" y="290" /><di:waypoint x="1225" y="290" /></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_8_di" bpmnElement="Flow_8"><di:waypoint x="1175" y="570" /><di:waypoint x="1200" y="570" /><di:waypoint x="1200" y="290" /><di:waypoint x="1225" y="290" /></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_9_di" bpmnElement="Flow_9"><di:waypoint x="1375" y="290" /><di:waypoint x="1400" y="290" /><di:waypoint x="1400" y="150" /><di:waypoint x="1425" y="150" /></bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_10_di" bpmnElement="Flow_10"><di:waypoint x="1575" y="150" /><di:waypoint x="1682" y="150" /></bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
