<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions
  xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
  targetNamespace="http://bpmn.io/schema/bpmn"
  id="Definitions_1" 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">
  <bpmn:collaboration id="Collaboration_1">
    <bpmn:participant id="Participant_1" name="Invoice Approval Process" processRef="Process_1"/>
  </bpmn:collaboration>
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:laneSet id="LaneSet_1">
      <bpmn:lane id="Lane_Employee" name="Employee">
        <bpmn:flowNodeRef>StartEvent_InvoiceSubmitted</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Finance" name="Finance">
        <bpmn:flowNodeRef>UserTask_ValidatePO</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_AmountThreshold</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_Approved</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>ServiceTask_SchedulePayment</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>UserTask_ReturnReason</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent_Paid</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent_Rejected</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Manager" name="Manager">
        <bpmn:flowNodeRef>UserTask_ManagerApproval</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Director" name="Director">
        <bpmn:flowNodeRef>UserTask_DirectorApproval</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent_InvoiceSubmitted" name="Invoice Submitted"/>
    <bpmn:userTask id="UserTask_ValidatePO" name="Validate against PO"/>
    <bpmn:exclusiveGateway id="Gateway_AmountThreshold" name="Amount over threshold?" gatewayDirection="Diverging"/>
    <bpmn:userTask id="UserTask_ManagerApproval" name="Manager Approval"/>
    <bpmn:userTask id="UserTask_DirectorApproval" name="Director Approval"/>
    <bpmn:exclusiveGateway id="Gateway_Approved" name="Approved?" gatewayDirection="Diverging"/>
    <bpmn:serviceTask id="ServiceTask_SchedulePayment" name="Schedule Payment"/>
    <bpmn:userTask id="UserTask_ReturnReason" name="Return with Reason"/>
    <bpmn:endEvent id="EndEvent_Paid" name="Invoice Paid"/>
    <bpmn:endEvent id="EndEvent_Rejected" name="Invoice Rejected"/>
    <bpmn:sequenceFlow id="SequenceFlow_SubmitToValidate" sourceRef="StartEvent_InvoiceSubmitted" targetRef="UserTask_ValidatePO"/>
    <bpmn:sequenceFlow id="SequenceFlow_ValidateToThreshold" sourceRef="UserTask_ValidatePO" targetRef="Gateway_AmountThreshold"/>
    <bpmn:sequenceFlow id="SequenceFlow_Threshold_Low" sourceRef="Gateway_AmountThreshold" targetRef="UserTask_ManagerApproval" name="Below threshold"/>
    <bpmn:sequenceFlow id="SequenceFlow_Threshold_High" sourceRef="Gateway_AmountThreshold" targetRef="UserTask_DirectorApproval" name="Above threshold"/>
    <bpmn:sequenceFlow id="SequenceFlow_ManagerToApproved" sourceRef="UserTask_ManagerApproval" targetRef="Gateway_Approved"/>
    <bpmn:sequenceFlow id="SequenceFlow_DirectorToApproved" sourceRef="UserTask_DirectorApproval" targetRef="Gateway_Approved"/>
    <bpmn:sequenceFlow id="SequenceFlow_Approved_Yes" sourceRef="Gateway_Approved" targetRef="ServiceTask_SchedulePayment" name="Yes"/>
    <bpmn:sequenceFlow id="SequenceFlow_Approved_No" sourceRef="Gateway_Approved" targetRef="UserTask_ReturnReason" name="No"/>
    <bpmn:sequenceFlow id="SequenceFlow_ScheduleToPaid" sourceRef="ServiceTask_SchedulePayment" targetRef="EndEvent_Paid"/>
    <bpmn:sequenceFlow id="SequenceFlow_ReturnToRejected" sourceRef="UserTask_ReturnReason" targetRef="EndEvent_Rejected"/>
  </bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
  <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration_1">
    <bpmndi:BPMNShape id="BPMNShape_Participant_1" bpmnElement="Participant_1" isHorizontal="true">
      <dc:Bounds x="0" y="0" width="1708" height="906"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Lane_Employee" bpmnElement="Lane_Employee" isHorizontal="true">
      <dc:Bounds x="30" y="0" width="1678" height="200"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Lane_Finance" bpmnElement="Lane_Finance" isHorizontal="true">
      <dc:Bounds x="30" y="200" width="1678" height="306"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Lane_Manager" bpmnElement="Lane_Manager" isHorizontal="true">
      <dc:Bounds x="30" y="506" width="1678" height="200"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Lane_Director" bpmnElement="Lane_Director" isHorizontal="true">
      <dc:Bounds x="30" y="706" width="1678" height="200"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Gateway_AmountThreshold" bpmnElement="Gateway_AmountThreshold">
      <dc:Bounds x="585" y="346" width="50" height="50"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Gateway_Approved" bpmnElement="Gateway_Approved">
      <dc:Bounds x="985" y="346" width="50" height="50"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_StartEvent_InvoiceSubmitted" bpmnElement="StartEvent_InvoiceSubmitted">
      <dc:Bounds x="192" y="82" width="36" height="36"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_EndEvent_Paid" bpmnElement="EndEvent_Paid">
      <dc:Bounds x="1592" y="353" width="36" height="36"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_EndEvent_Rejected" bpmnElement="EndEvent_Rejected">
      <dc:Bounds x="1392" y="353" width="36" height="36"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_UserTask_ValidatePO" bpmnElement="UserTask_ValidatePO">
      <dc:Bounds x="360" y="331" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_UserTask_ManagerApproval" bpmnElement="UserTask_ManagerApproval">
      <dc:Bounds x="760" y="566" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_UserTask_DirectorApproval" bpmnElement="UserTask_DirectorApproval">
      <dc:Bounds x="760" y="766" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_UserTask_ReturnReason" bpmnElement="UserTask_ReturnReason">
      <dc:Bounds x="1160" y="276" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_ServiceTask_SchedulePayment" bpmnElement="ServiceTask_SchedulePayment">
      <dc:Bounds x="1160" y="386" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_SubmitToValidate" bpmnElement="SequenceFlow_SubmitToValidate">
      <di:waypoint x="210" y="118"/>
      <di:waypoint x="210" y="371"/>
      <di:waypoint x="360" y="371"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_ValidateToThreshold" bpmnElement="SequenceFlow_ValidateToThreshold">
      <di:waypoint x="460" y="371"/>
      <di:waypoint x="585" y="371"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_Threshold_Low" bpmnElement="SequenceFlow_Threshold_Low">
      <di:waypoint x="610" y="396"/>
      <di:waypoint x="610" y="606"/>
      <di:waypoint x="760" y="606"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_Threshold_High" bpmnElement="SequenceFlow_Threshold_High">
      <di:waypoint x="610" y="396"/>
      <di:waypoint x="610" y="806"/>
      <di:waypoint x="760" y="806"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_ManagerToApproved" bpmnElement="SequenceFlow_ManagerToApproved">
      <di:waypoint x="810" y="566"/>
      <di:waypoint x="810" y="371"/>
      <di:waypoint x="985" y="371"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_DirectorToApproved" bpmnElement="SequenceFlow_DirectorToApproved">
      <di:waypoint x="810" y="766"/>
      <di:waypoint x="810" y="741"/>
      <di:waypoint x="910" y="741"/>
      <di:waypoint x="910" y="371"/>
      <di:waypoint x="985" y="371"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_Approved_Yes" bpmnElement="SequenceFlow_Approved_Yes">
      <di:waypoint x="1035" y="371"/>
      <di:waypoint x="1098" y="371"/>
      <di:waypoint x="1098" y="426"/>
      <di:waypoint x="1160" y="426"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_Approved_No" bpmnElement="SequenceFlow_Approved_No">
      <di:waypoint x="1035" y="371"/>
      <di:waypoint x="1098" y="371"/>
      <di:waypoint x="1098" y="316"/>
      <di:waypoint x="1160" y="316"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_ScheduleToPaid" bpmnElement="SequenceFlow_ScheduleToPaid">
      <di:waypoint x="1210" y="386"/>
      <di:waypoint x="1210" y="258"/>
      <di:waypoint x="1610" y="258"/>
      <di:waypoint x="1610" y="353"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_ReturnToRejected" bpmnElement="SequenceFlow_ReturnToRejected">
      <di:waypoint x="1260" y="316"/>
      <di:waypoint x="1326" y="316"/>
      <di:waypoint x="1326" y="371"/>
      <di:waypoint x="1392" y="371"/>
    </bpmndi:BPMNEdge>
  </bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>