<?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="Expense claim" processRef="Process_1" />
  </bpmn:collaboration>
  <bpmn:process id="Process_1" isExecutable="false">
    <bpmn:laneSet id="LaneSet_1">
      <bpmn:lane id="Lane_Finance" name="Finance">
        <bpmn:flowNodeRef>Start_ClaimSubmitted</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_CheckClaim</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_Amount</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_Merge</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_PayClaim</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>End_ClaimPaid</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_Manager" name="Manager">
        <bpmn:flowNodeRef>Task_ReviewClaim</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_Approved</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_SendRejection</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>End_ClaimRejected</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="Start_ClaimSubmitted" name="Claim submitted">
      <bpmn:outgoing>Flow_1</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:userTask id="Task_CheckClaim" name="Check claim">
      <bpmn:incoming>Flow_1</bpmn:incoming>
      <bpmn:outgoing>Flow_2</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:exclusiveGateway id="Gateway_Amount" name="Amount over 500 EUR?" gatewayDirection="Diverging" default="Flow_AmountNo">
      <bpmn:incoming>Flow_2</bpmn:incoming>
      <bpmn:outgoing>Flow_AmountNo</bpmn:outgoing>
      <bpmn:outgoing>Flow_AmountYes</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:userTask id="Task_ReviewClaim" name="Review claim">
      <bpmn:incoming>Flow_AmountYes</bpmn:incoming>
      <bpmn:outgoing>Flow_3</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:exclusiveGateway id="Gateway_Approved" name="Approved?" gatewayDirection="Diverging" default="Flow_ApprovedNo">
      <bpmn:incoming>Flow_3</bpmn:incoming>
      <bpmn:outgoing>Flow_ApprovedYes</bpmn:outgoing>
      <bpmn:outgoing>Flow_ApprovedNo</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sendTask id="Task_SendRejection" name="Send rejection with reason">
      <bpmn:incoming>Flow_ApprovedNo</bpmn:incoming>
      <bpmn:outgoing>Flow_4</bpmn:outgoing>
    </bpmn:sendTask>
    <bpmn:endEvent id="End_ClaimRejected" name="Claim rejected">
      <bpmn:incoming>Flow_4</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:exclusiveGateway id="Gateway_Merge" gatewayDirection="Converging">
      <bpmn:incoming>Flow_AmountNo</bpmn:incoming>
      <bpmn:incoming>Flow_ApprovedYes</bpmn:incoming>
      <bpmn:outgoing>Flow_5</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:serviceTask id="Task_PayClaim" name="Pay claim">
      <bpmn:incoming>Flow_5</bpmn:incoming>
      <bpmn:outgoing>Flow_6</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="End_ClaimPaid" name="Claim paid">
      <bpmn:incoming>Flow_6</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_1" sourceRef="Start_ClaimSubmitted" targetRef="Task_CheckClaim" />
    <bpmn:sequenceFlow id="Flow_2" sourceRef="Task_CheckClaim" targetRef="Gateway_Amount" />
    <bpmn:sequenceFlow id="Flow_AmountNo" name="No" sourceRef="Gateway_Amount" targetRef="Gateway_Merge" />
    <bpmn:sequenceFlow id="Flow_AmountYes" name="Yes" sourceRef="Gateway_Amount" targetRef="Task_ReviewClaim" />
    <bpmn:sequenceFlow id="Flow_3" sourceRef="Task_ReviewClaim" targetRef="Gateway_Approved" />
    <bpmn:sequenceFlow id="Flow_ApprovedYes" name="Yes" sourceRef="Gateway_Approved" targetRef="Gateway_Merge" />
    <bpmn:sequenceFlow id="Flow_ApprovedNo" name="No" sourceRef="Gateway_Approved" targetRef="Task_SendRejection" />
    <bpmn:sequenceFlow id="Flow_4" sourceRef="Task_SendRejection" targetRef="End_ClaimRejected" />
    <bpmn:sequenceFlow id="Flow_5" sourceRef="Gateway_Merge" targetRef="Task_PayClaim" />
    <bpmn:sequenceFlow id="Flow_6" sourceRef="Task_PayClaim" targetRef="End_ClaimPaid" />
  </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="400"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Lane_Finance" bpmnElement="Lane_Finance" isHorizontal="true">
      <dc:Bounds x="30" y="0" width="1678" height="200"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Lane_Manager" bpmnElement="Lane_Manager" isHorizontal="true">
      <dc:Bounds x="30" y="200" width="1678" height="200"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Start_ClaimSubmitted" bpmnElement="Start_ClaimSubmitted">
      <dc:Bounds x="192" y="82" width="36" height="36"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="168" y="123" width="85" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Task_CheckClaim" bpmnElement="Task_CheckClaim">
      <dc:Bounds x="360" y="60" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Gateway_Amount" bpmnElement="Gateway_Amount">
      <dc:Bounds x="585" y="75" width="50" height="50"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="499" y="49" width="90" height="28"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Task_ReviewClaim" bpmnElement="Task_ReviewClaim">
      <dc:Bounds x="760" y="260" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Gateway_Approved" bpmnElement="Gateway_Approved">
      <dc:Bounds x="985" y="275" width="50" height="50"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="980" y="330" width="59" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Task_SendRejection" bpmnElement="Task_SendRejection">
      <dc:Bounds x="1160" y="260" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_End_ClaimRejected" bpmnElement="End_ClaimRejected">
      <dc:Bounds x="1392" y="282" width="36" height="36"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="1372" y="323" width="76" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Gateway_Merge" bpmnElement="Gateway_Merge">
      <dc:Bounds x="1185" y="75" width="50" height="50"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_Task_PayClaim" bpmnElement="Task_PayClaim">
      <dc:Bounds x="1360" y="60" width="100" height="80"/>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNShape id="BPMNShape_End_ClaimPaid" bpmnElement="End_ClaimPaid">
      <dc:Bounds x="1592" y="82" width="36" height="36"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="1581" y="123" width="58" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNShape>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_1" bpmnElement="Flow_1">
      <di:waypoint x="228" y="100"/>
      <di:waypoint x="360" y="100"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_2" bpmnElement="Flow_2">
      <di:waypoint x="460" y="100"/>
      <di:waypoint x="585" y="100"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_AmountNo" bpmnElement="Flow_AmountNo">
      <di:waypoint x="610" y="75"/>
      <di:waypoint x="610" y="57"/>
      <di:waypoint x="1210" y="57"/>
      <di:waypoint x="1210" y="75"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="615" y="57" width="20" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_AmountYes" bpmnElement="Flow_AmountYes">
      <di:waypoint x="610" y="125"/>
      <di:waypoint x="610" y="300"/>
      <di:waypoint x="760" y="300"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="615" y="129" width="25" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_3" bpmnElement="Flow_3">
      <di:waypoint x="860" y="300"/>
      <di:waypoint x="985" y="300"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_ApprovedYes" bpmnElement="Flow_ApprovedYes">
      <di:waypoint x="1010" y="275"/>
      <di:waypoint x="1010" y="100"/>
      <di:waypoint x="1185" y="100"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="1015" y="257" width="25" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_ApprovedNo" bpmnElement="Flow_ApprovedNo">
      <di:waypoint x="1035" y="300"/>
      <di:waypoint x="1160" y="300"/>
      <bpmndi:BPMNLabel>
        <dc:Bounds x="1039" y="284" width="20" height="14"/>
      </bpmndi:BPMNLabel>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_4" bpmnElement="Flow_4">
      <di:waypoint x="1260" y="300"/>
      <di:waypoint x="1392" y="300"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_5" bpmnElement="Flow_5">
      <di:waypoint x="1235" y="100"/>
      <di:waypoint x="1360" y="100"/>
    </bpmndi:BPMNEdge>
    <bpmndi:BPMNEdge id="BPMNEdge_Flow_6" bpmnElement="Flow_6">
      <di:waypoint x="1460" y="100"/>
      <di:waypoint x="1592" y="100"/>
    </bpmndi:BPMNEdge>
  </bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>
