dodil/erp-method
modules/time-off/signoff/time-off/time-off_leave_request.bpmn
<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dodil="https://git.dodil.io/dodil/erp-platform/bpmn/1" id="Definitions_time-off_v2" name="Time off & absence processes" targetNamespace="https://git.dodil.io/dodil/erp-platform/processes" exporter="erp-platform erp-compose bpmn" exporterVersion="1">
<bpmn:collaboration id="Collaboration_time-off_v2">
<bpmn:documentation>Time off & absence: one pool per entity lifecycle, generated from module.yaml.</bpmn:documentation>
<bpmn:participant id="Participant_time-off_leave_request" name="Leave request" processRef="Process_time-off_leave_request_v2" />
</bpmn:collaboration>
<bpmn:process id="Process_time-off_leave_request_v2" name="Leave request" isExecutable="false">
<bpmn:documentation>Lifecycle of the leave request, generated from module.yaml by erp-compose bpmn; change the workflow there, not this file. States: requested, approved, rejected, withdrawn, cancelled. Note: A cancellation ask is a recorded fact on an approved request, not a state, so no edge ever re-enters an earlier state. "Taken" is derived from the dates (an approved day in the past), never a state.</bpmn:documentation>
<bpmn:laneSet id="LaneSet_leave_request">
<bpmn:lane id="Lane_leave_request_employee" name="Anyone who works here">
<bpmn:flowNodeRef>Start_leave_request</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_request_leave</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_withdraw_leave</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_ask_leave_cancellation</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_ask_leave_cancellation__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_ask_leave_cancellation__if_end</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_leave_request_withdrawn</bpmn:flowNodeRef>
</bpmn:lane>
<bpmn:lane id="Lane_leave_request_manager" name="Line manager (derived from hr)">
<bpmn:flowNodeRef>Task_approve_leave</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_reject_leave</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_cancel_leave</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Task_refuse_leave_cancellation</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_leave_request_requested__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_refuse_leave_cancellation__if</bpmn:flowNodeRef>
<bpmn:flowNodeRef>Gateway_refuse_leave_cancellation__if_end</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_leave_request_rejected</bpmn:flowNodeRef>
<bpmn:flowNodeRef>End_leave_request_cancelled</bpmn:flowNodeRef>
</bpmn:lane>
</bpmn:laneSet>
<bpmn:startEvent id="Start_leave_request" name="Leave request needed">
<bpmn:outgoing>Flow_Start_leave_request__Task_request_leave</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Task_request_leave" name="Ask for time off" dodil:step="request_leave">
<bpmn:documentation>By: Anyone who works here. From none to requested. When: employed on every day (hr); every half day free (one claim row each); the cost within the balance and allow_negative_days; at most max_days_ahead ahead. Effect: request_id claimed from the company's yearly series; the day claims written; the approver derived from hr on the first day and fixed.</bpmn:documentation>
<bpmn:incoming>Flow_Start_leave_request__Task_request_leave</bpmn:incoming>
<bpmn:outgoing>Flow_Task_request_leave__Gateway_leave_request_requested__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_approve_leave" name="Approve" dodil:step="approve_leave" dodil:approval="true">
<bpmn:documentation>By: Line manager (derived from hr) or HR / people operations. From requested to approved. When: the approver is the request's approver or a delegate and not the requester (email AND sub); the overlap rule answered (warn needs an acknowledgement, block refuses). Effect: ledger entry take keyed req:<request_id>:r<rev>; visible to payroll and timesheets after commit. An approval.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_leave_request_requested__if__Task_approve_leave</bpmn:incoming>
<bpmn:outgoing>Flow_Task_approve_leave__Gateway_ask_leave_cancellation__if</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_reject_leave" name="Reject" dodil:step="reject_leave">
<bpmn:documentation>By: Line manager (derived from hr) or HR / people operations. From requested to rejected. Requires: reason. Effect: day claims released.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_leave_request_requested__if__Task_reject_leave</bpmn:incoming>
<bpmn:outgoing>Flow_Task_reject_leave__End_leave_request_rejected</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_withdraw_leave" name="Withdraw before a decision" dodil:step="withdraw_leave">
<bpmn:documentation>By: Anyone who works here. From requested to withdrawn. Effect: day claims released.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_leave_request_requested__if__Task_withdraw_leave</bpmn:incoming>
<bpmn:outgoing>Flow_Task_withdraw_leave__End_leave_request_withdrawn</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Task_ask_leave_cancellation" name="Ask to cancel approved leave" dodil:step="ask_leave_cancellation">
<bpmn:documentation>By: Anyone who works here. From approved to approved. When: no day of it in the past (a past day is corrected by HR, TOF-12); no open cancellation ask. Effect: a cancellation ask recorded on the request (asked_at, by); the leave stands until it is decided.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_ask_leave_cancellation__if__Task_ask_leave_cancellation</bpmn:incoming>
<bpmn:outgoing>Flow_Task_ask_leave_cancellation__Gateway_ask_leave_cancellation__if_end</bpmn:outgoing>
</bpmn:userTask>
<bpmn:task id="Task_cancel_leave" name="Cancel approved leave" dodil:step="cancel_leave">
<bpmn:documentation>By: Line manager (derived from hr) or HR / people operations or The system. From approved to cancelled. When: the canceller is not the requester (email AND sub), except the system for a leaver (TOF-21). Requires: reason. Effect: reversal entry req:<request_id>:r<rev>:cancel; day claims released.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_refuse_leave_cancellation__if_end__Task_cancel_leave</bpmn:incoming>
<bpmn:outgoing>Flow_Task_cancel_leave__End_leave_request_cancelled</bpmn:outgoing>
</bpmn:task>
<bpmn:userTask id="Task_refuse_leave_cancellation" name="Refuse the cancellation ask" dodil:step="refuse_leave_cancellation">
<bpmn:documentation>By: Line manager (derived from hr) or HR / people operations. From approved to approved. When: an open cancellation ask; the decider is not the requester. Requires: reason. Effect: the ask closed with its reason; no ledger entry.</bpmn:documentation>
<bpmn:incoming>Flow_Gateway_refuse_leave_cancellation__if__Task_refuse_leave_cancellation</bpmn:incoming>
<bpmn:outgoing>Flow_Task_refuse_leave_cancellation__Gateway_refuse_leave_cancellation__if_end</bpmn:outgoing>
</bpmn:userTask>
<bpmn:exclusiveGateway id="Gateway_leave_request_requested__if" name="Leave request requested: what next?">
<bpmn:incoming>Flow_Task_request_leave__Gateway_leave_request_requested__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_leave_request_requested__if__Task_approve_leave</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_leave_request_requested__if__Task_reject_leave</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_leave_request_requested__if__Task_withdraw_leave</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_ask_leave_cancellation__if" name="no day of it in the past (a past day is corrected by HR, TOF-12); no open cancellation ask?">
<bpmn:incoming>Flow_Task_approve_leave__Gateway_ask_leave_cancellation__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_ask_leave_cancellation__if__Task_ask_leave_cancellation</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_ask_leave_cancellation__if__Gateway_ask_leave_cancellation__if_end</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_ask_leave_cancellation__if_end">
<bpmn:incoming>Flow_Gateway_ask_leave_cancellation__if__Gateway_ask_leave_cancellation__if_end</bpmn:incoming>
<bpmn:incoming>Flow_Task_ask_leave_cancellation__Gateway_ask_leave_cancellation__if_end</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_ask_leave_cancellation__if_end__Gateway_refuse_leave_cancellation__if</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_refuse_leave_cancellation__if" name="an open cancellation ask; the decider is not the requester?">
<bpmn:incoming>Flow_Gateway_ask_leave_cancellation__if_end__Gateway_refuse_leave_cancellation__if</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_refuse_leave_cancellation__if__Task_refuse_leave_cancellation</bpmn:outgoing>
<bpmn:outgoing>Flow_Gateway_refuse_leave_cancellation__if__Gateway_refuse_leave_cancellation__if_end</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:exclusiveGateway id="Gateway_refuse_leave_cancellation__if_end">
<bpmn:incoming>Flow_Gateway_refuse_leave_cancellation__if__Gateway_refuse_leave_cancellation__if_end</bpmn:incoming>
<bpmn:incoming>Flow_Task_refuse_leave_cancellation__Gateway_refuse_leave_cancellation__if_end</bpmn:incoming>
<bpmn:outgoing>Flow_Gateway_refuse_leave_cancellation__if_end__Task_cancel_leave</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="End_leave_request_rejected" name="Leave request rejected">
<bpmn:incoming>Flow_Task_reject_leave__End_leave_request_rejected</bpmn:incoming>
</bpmn:endEvent>
<bpmn:endEvent id="End_leave_request_withdrawn" name="Leave request withdrawn">
<bpmn:incoming>Flow_Task_withdraw_leave__End_leave_request_withdrawn</bpmn:incoming>
</bpmn:endEvent>
<bpmn:endEvent id="End_leave_request_cancelled" name="Leave request cancelled">
<bpmn:incoming>Flow_Task_cancel_leave__End_leave_request_cancelled</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Start_leave_request__Task_request_leave" sourceRef="Start_leave_request" targetRef="Task_request_leave" />
<bpmn:sequenceFlow id="Flow_Gateway_leave_request_requested__if__Task_approve_leave" sourceRef="Gateway_leave_request_requested__if" targetRef="Task_approve_leave" />
<bpmn:sequenceFlow id="Flow_Gateway_leave_request_requested__if__Task_reject_leave" sourceRef="Gateway_leave_request_requested__if" targetRef="Task_reject_leave" />
<bpmn:sequenceFlow id="Flow_Gateway_leave_request_requested__if__Task_withdraw_leave" sourceRef="Gateway_leave_request_requested__if" targetRef="Task_withdraw_leave" />
<bpmn:sequenceFlow id="Flow_Task_request_leave__Gateway_leave_request_requested__if" sourceRef="Task_request_leave" targetRef="Gateway_leave_request_requested__if" />
<bpmn:sequenceFlow id="Flow_Gateway_ask_leave_cancellation__if__Task_ask_leave_cancellation" name="no day of it in the past (a past day is corrected by HR, TOF-12); no open cancellation ask" sourceRef="Gateway_ask_leave_cancellation__if" targetRef="Task_ask_leave_cancellation" />
<bpmn:sequenceFlow id="Flow_Gateway_ask_leave_cancellation__if__Gateway_ask_leave_cancellation__if_end" name="otherwise" sourceRef="Gateway_ask_leave_cancellation__if" targetRef="Gateway_ask_leave_cancellation__if_end" />
<bpmn:sequenceFlow id="Flow_Task_ask_leave_cancellation__Gateway_ask_leave_cancellation__if_end" sourceRef="Task_ask_leave_cancellation" targetRef="Gateway_ask_leave_cancellation__if_end" />
<bpmn:sequenceFlow id="Flow_Gateway_refuse_leave_cancellation__if__Task_refuse_leave_cancellation" name="an open cancellation ask; the decider is not the requester" sourceRef="Gateway_refuse_leave_cancellation__if" targetRef="Task_refuse_leave_cancellation" />
<bpmn:sequenceFlow id="Flow_Gateway_refuse_leave_cancellation__if__Gateway_refuse_leave_cancellation__if_end" name="otherwise" sourceRef="Gateway_refuse_leave_cancellation__if" targetRef="Gateway_refuse_leave_cancellation__if_end" />
<bpmn:sequenceFlow id="Flow_Task_refuse_leave_cancellation__Gateway_refuse_leave_cancellation__if_end" sourceRef="Task_refuse_leave_cancellation" targetRef="Gateway_refuse_leave_cancellation__if_end" />
<bpmn:sequenceFlow id="Flow_Gateway_ask_leave_cancellation__if_end__Gateway_refuse_leave_cancellation__if" sourceRef="Gateway_ask_leave_cancellation__if_end" targetRef="Gateway_refuse_leave_cancellation__if" />
<bpmn:sequenceFlow id="Flow_Gateway_refuse_leave_cancellation__if_end__Task_cancel_leave" sourceRef="Gateway_refuse_leave_cancellation__if_end" targetRef="Task_cancel_leave" />
<bpmn:sequenceFlow id="Flow_Task_approve_leave__Gateway_ask_leave_cancellation__if" sourceRef="Task_approve_leave" targetRef="Gateway_ask_leave_cancellation__if" />
<bpmn:sequenceFlow id="Flow_Task_reject_leave__End_leave_request_rejected" sourceRef="Task_reject_leave" targetRef="End_leave_request_rejected" />
<bpmn:sequenceFlow id="Flow_Task_withdraw_leave__End_leave_request_withdrawn" sourceRef="Task_withdraw_leave" targetRef="End_leave_request_withdrawn" />
<bpmn:sequenceFlow id="Flow_Task_cancel_leave__End_leave_request_cancelled" sourceRef="Task_cancel_leave" targetRef="End_leave_request_cancelled" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_time-off_v2">
<bpmndi:BPMNPlane id="BPMNPlane_time-off_v2" bpmnElement="Collaboration_time-off_v2">
<bpmndi:BPMNShape id="Participant_time-off_leave_request_di" bpmnElement="Participant_time-off_leave_request" isHorizontal="true">
<dc:Bounds x="0" y="0" width="1810" height="520" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_leave_request_employee_di" bpmnElement="Lane_leave_request_employee" isHorizontal="true">
<dc:Bounds x="30" y="0" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Lane_leave_request_manager_di" bpmnElement="Lane_leave_request_manager" isHorizontal="true">
<dc:Bounds x="30" y="260" width="1780" height="260" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Start_leave_request_di" bpmnElement="Start_leave_request">
<dc:Bounds x="157" y="42" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_request_leave_di" bpmnElement="Task_request_leave">
<dc:Bounds x="295" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_approve_leave_di" bpmnElement="Task_approve_leave">
<dc:Bounds x="635" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_reject_leave_di" bpmnElement="Task_reject_leave">
<dc:Bounds x="635" y="400" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_withdraw_leave_di" bpmnElement="Task_withdraw_leave">
<dc:Bounds x="635" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_ask_leave_cancellation_di" bpmnElement="Task_ask_leave_cancellation">
<dc:Bounds x="975" y="20" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_cancel_leave_di" bpmnElement="Task_cancel_leave">
<dc:Bounds x="1485" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Task_refuse_leave_cancellation_di" bpmnElement="Task_refuse_leave_cancellation">
<dc:Bounds x="1315" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_leave_request_requested__if_di" bpmnElement="Gateway_leave_request_requested__if">
<dc:Bounds x="490" y="295" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_ask_leave_cancellation__if_di" bpmnElement="Gateway_ask_leave_cancellation__if">
<dc:Bounds x="830" y="35" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_ask_leave_cancellation__if_end_di" bpmnElement="Gateway_ask_leave_cancellation__if_end">
<dc:Bounds x="1000" y="155" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_refuse_leave_cancellation__if_di" bpmnElement="Gateway_refuse_leave_cancellation__if">
<dc:Bounds x="1170" y="295" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_refuse_leave_cancellation__if_end_di" bpmnElement="Gateway_refuse_leave_cancellation__if_end">
<dc:Bounds x="1340" y="415" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_leave_request_rejected_di" bpmnElement="End_leave_request_rejected">
<dc:Bounds x="837" y="302" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_leave_request_withdrawn_di" bpmnElement="End_leave_request_withdrawn">
<dc:Bounds x="837" y="162" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="End_leave_request_cancelled_di" bpmnElement="End_leave_request_cancelled">
<dc:Bounds x="1687" y="302" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Start_leave_request__Task_request_leave_di" bpmnElement="Flow_Start_leave_request__Task_request_leave">
<di:waypoint x="193" y="60" />
<di:waypoint x="295" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_leave_request_requested__if__Task_approve_leave_di" bpmnElement="Flow_Gateway_leave_request_requested__if__Task_approve_leave">
<di:waypoint x="540" y="320" />
<di:waypoint x="635" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_leave_request_requested__if__Task_reject_leave_di" bpmnElement="Flow_Gateway_leave_request_requested__if__Task_reject_leave">
<di:waypoint x="540" y="320" />
<di:waypoint x="610" y="320" />
<di:waypoint x="610" y="440" />
<di:waypoint x="635" y="440" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_leave_request_requested__if__Task_withdraw_leave_di" bpmnElement="Flow_Gateway_leave_request_requested__if__Task_withdraw_leave">
<di:waypoint x="540" y="320" />
<di:waypoint x="610" y="320" />
<di:waypoint x="610" y="60" />
<di:waypoint x="635" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_request_leave__Gateway_leave_request_requested__if_di" bpmnElement="Flow_Task_request_leave__Gateway_leave_request_requested__if">
<di:waypoint x="395" y="60" />
<di:waypoint x="465" y="60" />
<di:waypoint x="465" y="320" />
<di:waypoint x="490" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ask_leave_cancellation__if__Task_ask_leave_cancellation_di" bpmnElement="Flow_Gateway_ask_leave_cancellation__if__Task_ask_leave_cancellation">
<di:waypoint x="880" y="60" />
<di:waypoint x="975" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ask_leave_cancellation__if__Gateway_ask_leave_cancellation__if_end_di" bpmnElement="Flow_Gateway_ask_leave_cancellation__if__Gateway_ask_leave_cancellation__if_end">
<di:waypoint x="880" y="60" />
<di:waypoint x="975" y="60" />
<di:waypoint x="975" y="180" />
<di:waypoint x="1000" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_ask_leave_cancellation__Gateway_ask_leave_cancellation__if_end_di" bpmnElement="Flow_Task_ask_leave_cancellation__Gateway_ask_leave_cancellation__if_end">
<di:waypoint x="1025" y="100" />
<di:waypoint x="1025" y="220" />
<di:waypoint x="1025" y="220" />
<di:waypoint x="1025" y="205" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_refuse_leave_cancellation__if__Task_refuse_leave_cancellation_di" bpmnElement="Flow_Gateway_refuse_leave_cancellation__if__Task_refuse_leave_cancellation">
<di:waypoint x="1220" y="320" />
<di:waypoint x="1315" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_refuse_leave_cancellation__if__Gateway_refuse_leave_cancellation__if_end_di" bpmnElement="Flow_Gateway_refuse_leave_cancellation__if__Gateway_refuse_leave_cancellation__if_end">
<di:waypoint x="1220" y="320" />
<di:waypoint x="1315" y="320" />
<di:waypoint x="1315" y="440" />
<di:waypoint x="1340" y="440" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_refuse_leave_cancellation__Gateway_refuse_leave_cancellation__if_end_di" bpmnElement="Flow_Task_refuse_leave_cancellation__Gateway_refuse_leave_cancellation__if_end">
<di:waypoint x="1365" y="360" />
<di:waypoint x="1365" y="486" />
<di:waypoint x="1365" y="486" />
<di:waypoint x="1365" y="465" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_ask_leave_cancellation__if_end__Gateway_refuse_leave_cancellation__if_di" bpmnElement="Flow_Gateway_ask_leave_cancellation__if_end__Gateway_refuse_leave_cancellation__if">
<di:waypoint x="1050" y="180" />
<di:waypoint x="1145" y="180" />
<di:waypoint x="1145" y="320" />
<di:waypoint x="1170" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Gateway_refuse_leave_cancellation__if_end__Task_cancel_leave_di" bpmnElement="Flow_Gateway_refuse_leave_cancellation__if_end__Task_cancel_leave">
<di:waypoint x="1390" y="440" />
<di:waypoint x="1460" y="440" />
<di:waypoint x="1460" y="320" />
<di:waypoint x="1485" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_approve_leave__Gateway_ask_leave_cancellation__if_di" bpmnElement="Flow_Task_approve_leave__Gateway_ask_leave_cancellation__if">
<di:waypoint x="735" y="320" />
<di:waypoint x="805" y="320" />
<di:waypoint x="805" y="60" />
<di:waypoint x="830" y="60" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_reject_leave__End_leave_request_rejected_di" bpmnElement="Flow_Task_reject_leave__End_leave_request_rejected">
<di:waypoint x="735" y="440" />
<di:waypoint x="812" y="440" />
<di:waypoint x="812" y="320" />
<di:waypoint x="837" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_withdraw_leave__End_leave_request_withdrawn_di" bpmnElement="Flow_Task_withdraw_leave__End_leave_request_withdrawn">
<di:waypoint x="735" y="60" />
<di:waypoint x="812" y="60" />
<di:waypoint x="812" y="180" />
<di:waypoint x="837" y="180" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Task_cancel_leave__End_leave_request_cancelled_di" bpmnElement="Flow_Task_cancel_leave__End_leave_request_cancelled">
<di:waypoint x="1585" y="320" />
<di:waypoint x="1687" y="320" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>