dodil/erp-method

modules/hr/signoff/hr/history/employee-offboarding.v1.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_employee-offboarding_v1" targetNamespace="https://git.dodil.io/dodil/brick-hr/playbooks" exporter="brick-hr" exporterVersion="0.5.4">
  <bpmn:collaboration id="Collaboration_employee-offboarding_v1">
    <bpmn:participant id="Participant_employee-offboarding" name="Employee offboarding (v1)" processRef="Process_employee-offboarding_v1" />
    <bpmn:participant id="Participant_drafting" name="Drafting (Models)">
      <bpmn:documentation>Drafting through DODIL Models (an OpenAI-compatible endpoint).</bpmn:documentation>
    </bpmn:participant>
    <bpmn:participant id="Participant_chat" name="Chat spaces">
      <bpmn:documentation>Whatever provider the composition wires for chat.* (capabilities.yaml). With none, each call is a manual task carrying the same input.</bpmn:documentation>
    </bpmn:participant>
    <bpmn:participant id="Participant_drive" name="Files (drive)">
      <bpmn:documentation>Whatever provider the composition wires for drive.* (capabilities.yaml). With none, each call is a manual task carrying the same input.</bpmn:documentation>
    </bpmn:participant>
    <bpmn:participant id="Participant_groups" name="Groups">
      <bpmn:documentation>Whatever provider the composition wires for groups.* (capabilities.yaml). With none, each call is a manual task carrying the same input.</bpmn:documentation>
    </bpmn:participant>
    <bpmn:participant id="Participant_identity" name="Identity (work accounts)">
      <bpmn:documentation>Whatever provider the composition wires for identity.* (capabilities.yaml). With none, each call is a manual task carrying the same input.</bpmn:documentation>
    </bpmn:participant>
    <bpmn:participant id="Participant_mail" name="Mail">
      <bpmn:documentation>Whatever provider the composition wires for mail.* (capabilities.yaml). With none, each call is a manual task carrying the same input.</bpmn:documentation>
    </bpmn:participant>
    <bpmn:messageFlow id="MessageFlow_Task_handover_list__draft" name="draft" sourceRef="Task_handover_list__draft" targetRef="Participant_drafting" />
    <bpmn:messageFlow id="MessageFlow_Task_suspend_account" name="identity.suspend_user" sourceRef="Task_suspend_account" targetRef="Participant_identity" />
    <bpmn:messageFlow id="MessageFlow_Task_transfer_drive" name="drive.transfer_ownership" sourceRef="Task_transfer_drive" targetRef="Participant_drive" />
    <bpmn:messageFlow id="MessageFlow_Task_out_of_office" name="mail.set_autoreply" sourceRef="Task_out_of_office" targetRef="Participant_mail" />
    <bpmn:messageFlow id="MessageFlow_Task_remove_from_groups" name="groups.remove_member" sourceRef="Task_remove_from_groups" targetRef="Participant_groups" />
    <bpmn:messageFlow id="MessageFlow_Task_remove_from_chat_spaces" name="chat.remove_from_space" sourceRef="Task_remove_from_chat_spaces" targetRef="Participant_chat" />
    <bpmn:messageFlow id="MessageFlow_Task_delete_account" name="identity.delete_user" sourceRef="Task_delete_account" targetRef="Participant_identity" />
    <bpmn:messageFlow id="MessageFlow_Task_revoke_erp_login" name="identity.revoke_app_user" sourceRef="Task_revoke_erp_login" targetRef="Participant_identity" />
  </bpmn:collaboration>
  <bpmn:process id="Process_employee-offboarding_v1" name="Employee offboarding" isExecutable="false" dodil:pcf="21710">
    <bpmn:documentation>Employee offboarding: the offboarding playbook employee-offboarding, version 1 (active), for event types leave; worker types employee_ft, employee_pt, employee_fixed, intern. Times are in Europe/London. Generated by brick-hr from the playbook rows, which are the source: change them with keep_playbook or change_playbook (a new version), not this file. APQC PCF 21710 Manage offboarding.</bpmn:documentation>
    <bpmn:laneSet id="LaneSet_employee-offboarding">
      <bpmn:lane id="Lane_manager" name="The derived manager (manager)">
        <bpmn:flowNodeRef>StartEvent</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>EndEvent</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_handover_list__draft</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_handover_list</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_start</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_end</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_hr" name="Operations / HR (hr)">
        <bpmn:flowNodeRef>Task_approve_access_removal</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_exit_survey</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_exit_survey</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_offer_outplacement</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_offer_outplacement</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_offer_outplacement__if</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_offer_outplacement__if_end</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_approve_access_removal__fork</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_it" name="IT / ops (it)">
        <bpmn:flowNodeRef>Timer_suspend_account</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_suspend_account</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_transfer_drive</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_transfer_drive</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_out_of_office</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_out_of_office</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_remove_from_groups</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_remove_from_groups</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_remove_from_chat_spaces</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_remove_from_chat_spaces</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_approve_account_deletion</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_approve_account_deletion</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_delete_account</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_delete_account</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_laptop_returned</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_laptop_returned</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Timer_revoke_erp_login</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_revoke_erp_login</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Gateway_delete_account__join</bpmn:flowNodeRef>
      </bpmn:lane>
      <bpmn:lane id="Lane_finance" name="Finance (finance)">
        <bpmn:flowNodeRef>Timer_final_pay</bpmn:flowNodeRef>
        <bpmn:flowNodeRef>Task_final_pay</bpmn:flowNodeRef>
      </bpmn:lane>
    </bpmn:laneSet>
    <bpmn:startEvent id="StartEvent" name="Leave recorded">
      <bpmn:documentation>A leave is recorded: the run is expanded from this playbook version (open runs keep the version they started with).</bpmn:documentation>
      <bpmn:outgoing>Flow_StartEvent__Gateway_start</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:endEvent id="EndEvent" name="Run complete">
      <bpmn:documentation>Every step is done, skipped (its condition did not hold) or cancelled.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_end__EndEvent</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:serviceTask id="Task_handover_list__draft" name="Draft: Handover list" implementation="##unspecified">
      <bpmn:documentation>Models drafts the handover list from the instruction 'handover', given only non-sensitive fields. If Models fails, the step is a task: write it by hand.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Task_handover_list__draft</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_handover_list__draft__Task_handover_list</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_handover_list__draft">
        <bpmn:dataInput id="Task_handover_list__draft_in_preferred_name" name="preferred_name" />
        <bpmn:dataInput id="Task_handover_list__draft_in_job_title" name="job_title" />
        <bpmn:dataInput id="Task_handover_list__draft_in_org_unit_name" name="org_unit_name" />
        <bpmn:dataInput id="Task_handover_list__draft_in_last_day" name="last_day" />
        <bpmn:dataInput id="Task_handover_list__draft_in_open_steps" name="open_steps" />
        <bpmn:dataInput id="Task_handover_list__draft_in_line" name="line" />
        <bpmn:dataInput id="Task_handover_list__draft_in_units_led" name="units_led" />
        <bpmn:dataInput id="Task_handover_list__draft_in_unit_access" name="unit_access" />
        <bpmn:dataOutput id="Task_handover_list__draft_out_draft_text" name="draft_text" />
        <bpmn:inputSet id="InputSet_Task_handover_list__draft">
          <bpmn:dataInputRefs>Task_handover_list__draft_in_preferred_name</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_job_title</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_org_unit_name</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_last_day</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_open_steps</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_line</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_units_led</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_handover_list__draft_in_unit_access</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_handover_list__draft">
          <bpmn:dataOutputRefs>Task_handover_list__draft_out_draft_text</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
      <bpmn:dataOutputAssociation id="DataOutputAssociation_Task_handover_list__draft_draft_handover">
        <bpmn:sourceRef>Task_handover_list__draft_out_draft_text</bpmn:sourceRef>
        <bpmn:targetRef>DataObjectReference_draft_handover</bpmn:targetRef>
      </bpmn:dataOutputAssociation>
    </bpmn:serviceTask>
    <bpmn:userTask id="Task_handover_list" name="Approve: Handover list drafted and approved" dodil:step="handover_list">
      <bpmn:documentation>The derived manager reads the draft, edits it if needed and approves it (approve_draft). Nothing is sent before it is approved.</bpmn:documentation>
      <bpmn:incoming>Flow_Task_handover_list__draft__Task_handover_list</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_handover_list__Gateway_end</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:userTask id="Task_approve_access_removal" name="Approve access removal on the last day" dodil:step="approve_access_removal">
      <bpmn:documentation>An approval for Operations / HR: granted or refused (approve_step). A refusal cancels the destructive steps that depend on it; nothing destructive runs on a timer alone. Chased every 1 working day, up to 3 times, then a task for HR: approval overdue.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Task_approve_access_removal</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_approve_access_removal__Gateway_approve_access_removal__fork</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:intermediateCatchEvent id="Timer_suspend_account" name="on last_day">
      <bpmn:documentation>'Suspend the account' is due on last_day, 17:30 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_approve_access_removal__fork__Timer_suspend_account</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_suspend_account__Task_suspend_account</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_suspend_account">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 17:30 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_suspend_account" name="Suspend the account" dodil:step="suspend_account" dodil:pcf="20758" implementation="##unspecified">
      <bpmn:documentation>Capability identity.suspend_user: Stop the account signing in, keeping its data. With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic. Destructive: it runs only after an approval it depends on was GRANTED.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_suspend_account__Task_suspend_account</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_suspend_account__Gateway_end</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_suspend_account">
        <bpmn:dataInput id="Task_suspend_account_in_primary_email" name="primary_email">
          <bpmn:documentation>from {account_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_suspend_account_in_reason" name="reason">
          <bpmn:documentation>from left on {last_day}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_suspend_account_out_account_id" name="account_id" />
        <bpmn:dataOutput id="Task_suspend_account_out_suspended" name="suspended" />
        <bpmn:inputSet id="InputSet_Task_suspend_account">
          <bpmn:dataInputRefs>Task_suspend_account_in_primary_email</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_suspend_account_in_reason</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_suspend_account">
          <bpmn:dataOutputRefs>Task_suspend_account_out_account_id</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_suspend_account_out_suspended</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_transfer_drive" name="on last_day">
      <bpmn:documentation>'Move their Drive to the manager' is due on last_day, 17:30 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_approve_access_removal__fork__Timer_transfer_drive</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_transfer_drive__Task_transfer_drive</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_transfer_drive">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 17:30 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_transfer_drive" name="Move their Drive to the manager" dodil:step="transfer_drive" implementation="##unspecified">
      <bpmn:documentation>Capability drive.transfer_ownership: Move everything the person owns to someone else (usually their manager). With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic. Destructive: it runs only after an approval it depends on was GRANTED.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_transfer_drive__Task_transfer_drive</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_transfer_drive__Gateway_delete_account__join</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_transfer_drive">
        <bpmn:dataInput id="Task_transfer_drive_in_from_email" name="from_email">
          <bpmn:documentation>from {account_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_transfer_drive_in_to_email" name="to_email">
          <bpmn:documentation>from {manager_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_transfer_drive_out_transfer_ref" name="transfer_ref" />
        <bpmn:dataOutput id="Task_transfer_drive_out_state" name="state" />
        <bpmn:dataOutput id="Task_transfer_drive_out_transferred_items" name="transferred_items" />
        <bpmn:inputSet id="InputSet_Task_transfer_drive">
          <bpmn:dataInputRefs>Task_transfer_drive_in_from_email</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_transfer_drive_in_to_email</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_transfer_drive">
          <bpmn:dataOutputRefs>Task_transfer_drive_out_transfer_ref</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_transfer_drive_out_state</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_transfer_drive_out_transferred_items</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_out_of_office" name="on last_day">
      <bpmn:documentation>'Turn on the out-of-office reply' is due on last_day, 17:30 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_approve_access_removal__fork__Timer_out_of_office</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_out_of_office__Task_out_of_office</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_out_of_office">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 17:30 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_out_of_office" name="Turn on the out-of-office reply" dodil:step="out_of_office" implementation="##unspecified">
      <bpmn:documentation>Capability mail.set_autoreply: Turn on an out-of-office reply on the person's mailbox. With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_out_of_office__Task_out_of_office</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_out_of_office__Gateway_end</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_out_of_office">
        <bpmn:dataInput id="Task_out_of_office_in_mailbox" name="mailbox">
          <bpmn:documentation>from {account_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_out_of_office_in_subject" name="subject">
          <bpmn:documentation>from {preferred_name} has left</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_out_of_office_in_body_text" name="body_text">
          <bpmn:documentation>from {preferred_name} has left. Please contact {manager_email}.</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_out_of_office_in_start" name="start">
          <bpmn:documentation>from {last_day}T17:30:00</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_out_of_office_in_end" name="end">
          <bpmn:documentation>from null</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_out_of_office_out_enabled" name="enabled" />
        <bpmn:inputSet id="InputSet_Task_out_of_office">
          <bpmn:dataInputRefs>Task_out_of_office_in_mailbox</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_out_of_office_in_subject</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_out_of_office_in_body_text</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_out_of_office_in_start</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_out_of_office_in_end</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_out_of_office">
          <bpmn:dataOutputRefs>Task_out_of_office_out_enabled</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_remove_from_groups" name="on last_day">
      <bpmn:documentation>'Remove from the team's groups' is due on last_day, 17:30 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_approve_access_removal__fork__Timer_remove_from_groups</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_remove_from_groups__Task_remove_from_groups</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_remove_from_groups">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 17:30 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_remove_from_groups" name="Remove from the team's groups" dodil:step="remove_from_groups" dodil:pcf="20759" implementation="##unspecified">
      <bpmn:documentation>Capability groups.remove_member: Remove the person from a group. With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic. Destructive: it runs only after an approval it depends on was GRANTED.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_remove_from_groups__Task_remove_from_groups</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_remove_from_groups__Gateway_end</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_remove_from_groups">
        <bpmn:dataInput id="Task_remove_from_groups_in_group" name="group">
          <bpmn:documentation>from {target}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_remove_from_groups_in_member_email" name="member_email">
          <bpmn:documentation>from {account_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_remove_from_groups_out_group_id" name="group_id" />
        <bpmn:dataOutput id="Task_remove_from_groups_out_removed" name="removed" />
        <bpmn:inputSet id="InputSet_Task_remove_from_groups">
          <bpmn:dataInputRefs>Task_remove_from_groups_in_group</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_remove_from_groups_in_member_email</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_remove_from_groups">
          <bpmn:dataOutputRefs>Task_remove_from_groups_out_group_id</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_remove_from_groups_out_removed</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
      <bpmn:multiInstanceLoopCharacteristics id="MultiInstance_Task_remove_from_groups">
        <bpmn:documentation>One per group row of the person's unit (unit_access), in parallel.</bpmn:documentation>
      </bpmn:multiInstanceLoopCharacteristics>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_remove_from_chat_spaces" name="on last_day">
      <bpmn:documentation>'Remove from the team's chat spaces' is due on last_day, 17:30 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_approve_access_removal__fork__Timer_remove_from_chat_spaces</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_remove_from_chat_spaces__Task_remove_from_chat_spaces</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_remove_from_chat_spaces">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 17:30 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_remove_from_chat_spaces" name="Remove from the team's chat spaces" dodil:step="remove_from_chat_spaces" dodil:pcf="20759" implementation="##unspecified">
      <bpmn:documentation>Capability chat.remove_from_space: Remove the person from a chat space or channel. With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic. Destructive: it runs only after an approval it depends on was GRANTED.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_remove_from_chat_spaces__Task_remove_from_chat_spaces</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_remove_from_chat_spaces__Gateway_end</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_remove_from_chat_spaces">
        <bpmn:dataInput id="Task_remove_from_chat_spaces_in_space" name="space">
          <bpmn:documentation>from {target}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_remove_from_chat_spaces_in_member_email" name="member_email">
          <bpmn:documentation>from {account_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_remove_from_chat_spaces_out_space_id" name="space_id" />
        <bpmn:dataOutput id="Task_remove_from_chat_spaces_out_removed" name="removed" />
        <bpmn:inputSet id="InputSet_Task_remove_from_chat_spaces">
          <bpmn:dataInputRefs>Task_remove_from_chat_spaces_in_space</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_remove_from_chat_spaces_in_member_email</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_remove_from_chat_spaces">
          <bpmn:dataOutputRefs>Task_remove_from_chat_spaces_out_space_id</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_remove_from_chat_spaces_out_removed</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
      <bpmn:multiInstanceLoopCharacteristics id="MultiInstance_Task_remove_from_chat_spaces">
        <bpmn:documentation>One per chat space row of the person's unit (unit_access), in parallel.</bpmn:documentation>
      </bpmn:multiInstanceLoopCharacteristics>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_approve_account_deletion" name="23 days after last_day">
      <bpmn:documentation>'Approve deleting the account' is due 23 days after last_day, 09:00 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Timer_approve_account_deletion</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_approve_account_deletion__Task_approve_account_deletion</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_approve_account_deletion">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">23 days after last_day, 09:00 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:userTask id="Task_approve_account_deletion" name="Approve deleting the account" dodil:step="approve_account_deletion">
      <bpmn:documentation>An approval for IT / ops: granted or refused (approve_step). A refusal cancels the destructive steps that depend on it; nothing destructive runs on a timer alone. Chased every 1 working day, up to 3 times, then a task for HR: approval overdue.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_approve_account_deletion__Task_approve_account_deletion</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_approve_account_deletion__Gateway_delete_account__join</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:intermediateCatchEvent id="Timer_delete_account" name="30 days after last_day">
      <bpmn:documentation>'Delete the account and free the licence' is due 30 days after last_day, 09:00 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_delete_account__join__Timer_delete_account</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_delete_account__Task_delete_account</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_delete_account">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">30 days after last_day, 09:00 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_delete_account" name="Delete the account and free the licence" dodil:step="delete_account" dodil:pcf="20758" implementation="##unspecified">
      <bpmn:documentation>Capability identity.delete_user: Delete the account and free its licence. Irreversible after the vendor's grace period. With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic. Destructive: it runs only after an approval it depends on was GRANTED. It also waits until drive.transfer_status says the ownership transfer completed.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_delete_account__Task_delete_account</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_delete_account__Gateway_end</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_delete_account">
        <bpmn:dataInput id="Task_delete_account_in_primary_email" name="primary_email">
          <bpmn:documentation>from {account_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_delete_account_out_account_id" name="account_id" />
        <bpmn:dataOutput id="Task_delete_account_out_deleted" name="deleted" />
        <bpmn:inputSet id="InputSet_Task_delete_account">
          <bpmn:dataInputRefs>Task_delete_account_in_primary_email</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_delete_account">
          <bpmn:dataOutputRefs>Task_delete_account_out_account_id</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_delete_account_out_deleted</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_final_pay" name="on last_day">
      <bpmn:documentation>'Final pay' is due on last_day, 12:00 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Timer_final_pay</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_final_pay__Task_final_pay</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_final_pay">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 12:00 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:userTask id="Task_final_pay" name="Final pay" dodil:step="final_pay" dodil:pcf="10497">
      <bpmn:documentation>A task for Finance; done when someone in the group marks it done (complete_step). Chased every 1 working day, up to 3 times, then a task for HR: task overdue.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_final_pay__Task_final_pay</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_final_pay__Gateway_end</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:intermediateCatchEvent id="Timer_laptop_returned" name="on last_day">
      <bpmn:documentation>'Laptop returned' is due on last_day, 16:00 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Timer_laptop_returned</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_laptop_returned__Task_laptop_returned</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_laptop_returned">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 16:00 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:userTask id="Task_laptop_returned" name="Laptop returned" dodil:step="laptop_returned">
      <bpmn:documentation>A task for IT / ops; done when someone in the group marks it done (complete_step). Chased every 1 working day, up to 3 times, then a task for HR: task overdue.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_laptop_returned__Task_laptop_returned</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_laptop_returned__Gateway_end</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:intermediateCatchEvent id="Timer_exit_survey" name="3 working days before last_day">
      <bpmn:documentation>'Exit survey' is due 3 working days before last_day, 10:00 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Timer_exit_survey</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_exit_survey__Task_exit_survey</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_exit_survey">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">3 working days before last_day, 10:00 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:userTask id="Task_exit_survey" name="Exit survey" dodil:step="exit_survey">
      <bpmn:documentation>A task for Operations / HR; done when someone in the group marks it done (complete_step). Chased every 1 working day, up to 3 times, then a task for HR: task overdue.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_exit_survey__Task_exit_survey</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_exit_survey__Gateway_end</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:intermediateCatchEvent id="Timer_revoke_erp_login" name="on last_day">
      <bpmn:documentation>'Revoke their ERP sign-in' is due on last_day, 17:30 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_approve_access_removal__fork__Timer_revoke_erp_login</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_revoke_erp_login__Task_revoke_erp_login</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_revoke_erp_login">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">on last_day, 17:30 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:serviceTask id="Task_revoke_erp_login" name="Revoke their ERP sign-in" dodil:step="revoke_erp_login" dodil:pcf="20758" implementation="##unspecified">
      <bpmn:documentation>Capability identity.revoke_app_user: Stop a person signing in to the composition's user pool — disable the pool user and revoke every session. With no provider wired it becomes a manual task for IT / ops carrying the same input and the plan in words; wiring a provider later makes the same step automatic.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_revoke_erp_login__Task_revoke_erp_login</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_revoke_erp_login__Gateway_end</bpmn:outgoing>
      <bpmn:ioSpecification id="InputOutputSpecification_Task_revoke_erp_login">
        <bpmn:dataInput id="Task_revoke_erp_login_in_pool" name="pool">
          <bpmn:documentation>from {user_pool}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_revoke_erp_login_in_email" name="email">
          <bpmn:documentation>from {work_email}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_revoke_erp_login_in_sub" name="sub">
          <bpmn:documentation>from {pool_user_sub}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataInput id="Task_revoke_erp_login_in_reason" name="reason">
          <bpmn:documentation>from left on {last_day}</bpmn:documentation>
        </bpmn:dataInput>
        <bpmn:dataOutput id="Task_revoke_erp_login_out_disabled" name="disabled" />
        <bpmn:dataOutput id="Task_revoke_erp_login_out_sessions_revoked" name="sessions_revoked" />
        <bpmn:inputSet id="InputSet_Task_revoke_erp_login">
          <bpmn:dataInputRefs>Task_revoke_erp_login_in_pool</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_revoke_erp_login_in_email</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_revoke_erp_login_in_sub</bpmn:dataInputRefs>
          <bpmn:dataInputRefs>Task_revoke_erp_login_in_reason</bpmn:dataInputRefs>
        </bpmn:inputSet>
        <bpmn:outputSet id="OutputSet_Task_revoke_erp_login">
          <bpmn:dataOutputRefs>Task_revoke_erp_login_out_disabled</bpmn:dataOutputRefs>
          <bpmn:dataOutputRefs>Task_revoke_erp_login_out_sessions_revoked</bpmn:dataOutputRefs>
        </bpmn:outputSet>
      </bpmn:ioSpecification>
    </bpmn:serviceTask>
    <bpmn:intermediateCatchEvent id="Timer_offer_outplacement" name="2 working days after the run is created">
      <bpmn:documentation>'Offer outplacement support' is due 2 working days after the run is created, 10:00 Europe/London. Working days skip weekends and the bank holidays of the person's calendar; moving the anchor date re-times only steps not yet done.</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_offer_outplacement__if__Timer_offer_outplacement</bpmn:incoming>
      <bpmn:outgoing>Flow_Timer_offer_outplacement__Task_offer_outplacement</bpmn:outgoing>
      <bpmn:timerEventDefinition id="TimerEventDefinition_Timer_offer_outplacement">
        <bpmn:timeDate xsi:type="bpmn:tFormalExpression">2 working days after the run is created, 10:00 Europe/London</bpmn:timeDate>
      </bpmn:timerEventDefinition>
    </bpmn:intermediateCatchEvent>
    <bpmn:userTask id="Task_offer_outplacement" name="Offer outplacement support" dodil:step="offer_outplacement" dodil:pcf="10516">
      <bpmn:documentation>A task for Operations / HR; done when someone in the group marks it done (complete_step). Completing it records the outcome: accepted or declined (output.outcome). Chased every 1 working day, up to 3 times, then a task for HR: task overdue.</bpmn:documentation>
      <bpmn:incoming>Flow_Timer_offer_outplacement__Task_offer_outplacement</bpmn:incoming>
      <bpmn:outgoing>Flow_Task_offer_outplacement__Gateway_offer_outplacement__if_end</bpmn:outgoing>
    </bpmn:userTask>
    <bpmn:exclusiveGateway id="Gateway_offer_outplacement__if" name="The reason is redundancy?" default="Flow_Gateway_offer_outplacement__if__Gateway_offer_outplacement__if_end">
      <bpmn:documentation>'Offer outplacement support' applies only when the reason is redundancy; otherwise it is skipped (a skipped step counts as done for the steps after it).</bpmn:documentation>
      <bpmn:incoming>Flow_Gateway_start__Gateway_offer_outplacement__if</bpmn:incoming>
      <bpmn:outgoing>Flow_Gateway_offer_outplacement__if__Timer_offer_outplacement</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_offer_outplacement__if__Gateway_offer_outplacement__if_end</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:exclusiveGateway id="Gateway_offer_outplacement__if_end">
      <bpmn:incoming>Flow_Gateway_offer_outplacement__if__Gateway_offer_outplacement__if_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_offer_outplacement__Gateway_offer_outplacement__if_end</bpmn:incoming>
      <bpmn:outgoing>Flow_Gateway_offer_outplacement__if_end__Gateway_end</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:parallelGateway id="Gateway_start">
      <bpmn:documentation>Every step with no dependency starts at once; each then waits for its own timing rule.</bpmn:documentation>
      <bpmn:incoming>Flow_StartEvent__Gateway_start</bpmn:incoming>
      <bpmn:outgoing>Flow_Gateway_start__Task_handover_list__draft</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_start__Task_approve_access_removal</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_start__Timer_approve_account_deletion</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_start__Timer_final_pay</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_start__Timer_laptop_returned</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_start__Timer_exit_survey</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_start__Gateway_offer_outplacement__if</bpmn:outgoing>
    </bpmn:parallelGateway>
    <bpmn:parallelGateway id="Gateway_approve_access_removal__fork">
      <bpmn:documentation>'Approve access removal on the last day' done: 'Suspend the account', 'Move their Drive to the manager', 'Turn on the out-of-office reply', "Remove from the team's groups", "Remove from the team's chat spaces", 'Revoke their ERP sign-in' may go.</bpmn:documentation>
      <bpmn:incoming>Flow_Task_approve_access_removal__Gateway_approve_access_removal__fork</bpmn:incoming>
      <bpmn:outgoing>Flow_Gateway_approve_access_removal__fork__Timer_suspend_account</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_approve_access_removal__fork__Timer_transfer_drive</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_approve_access_removal__fork__Timer_out_of_office</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_approve_access_removal__fork__Timer_remove_from_groups</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_approve_access_removal__fork__Timer_remove_from_chat_spaces</bpmn:outgoing>
      <bpmn:outgoing>Flow_Gateway_approve_access_removal__fork__Timer_revoke_erp_login</bpmn:outgoing>
    </bpmn:parallelGateway>
    <bpmn:parallelGateway id="Gateway_delete_account__join">
      <bpmn:documentation>'Delete the account and free the licence' waits for 'Move their Drive to the manager', 'Approve deleting the account' (done or skipped).</bpmn:documentation>
      <bpmn:incoming>Flow_Task_transfer_drive__Gateway_delete_account__join</bpmn:incoming>
      <bpmn:incoming>Flow_Task_approve_account_deletion__Gateway_delete_account__join</bpmn:incoming>
      <bpmn:outgoing>Flow_Gateway_delete_account__join__Timer_delete_account</bpmn:outgoing>
    </bpmn:parallelGateway>
    <bpmn:parallelGateway id="Gateway_end">
      <bpmn:documentation>The run is complete when every branch is.</bpmn:documentation>
      <bpmn:incoming>Flow_Task_handover_list__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_suspend_account__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_out_of_office__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_remove_from_groups__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_remove_from_chat_spaces__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_delete_account__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_final_pay__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_laptop_returned__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_exit_survey__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Task_revoke_erp_login__Gateway_end</bpmn:incoming>
      <bpmn:incoming>Flow_Gateway_offer_outplacement__if_end__Gateway_end</bpmn:incoming>
      <bpmn:outgoing>Flow_Gateway_end__EndEvent</bpmn:outgoing>
    </bpmn:parallelGateway>
    <bpmn:sequenceFlow id="Flow_Task_handover_list__draft__Task_handover_list" sourceRef="Task_handover_list__draft" targetRef="Task_handover_list" />
    <bpmn:sequenceFlow id="Flow_Timer_suspend_account__Task_suspend_account" sourceRef="Timer_suspend_account" targetRef="Task_suspend_account" />
    <bpmn:sequenceFlow id="Flow_Timer_transfer_drive__Task_transfer_drive" sourceRef="Timer_transfer_drive" targetRef="Task_transfer_drive" />
    <bpmn:sequenceFlow id="Flow_Timer_out_of_office__Task_out_of_office" sourceRef="Timer_out_of_office" targetRef="Task_out_of_office" />
    <bpmn:sequenceFlow id="Flow_Timer_remove_from_groups__Task_remove_from_groups" sourceRef="Timer_remove_from_groups" targetRef="Task_remove_from_groups" />
    <bpmn:sequenceFlow id="Flow_Timer_remove_from_chat_spaces__Task_remove_from_chat_spaces" sourceRef="Timer_remove_from_chat_spaces" targetRef="Task_remove_from_chat_spaces" />
    <bpmn:sequenceFlow id="Flow_Timer_approve_account_deletion__Task_approve_account_deletion" sourceRef="Timer_approve_account_deletion" targetRef="Task_approve_account_deletion" />
    <bpmn:sequenceFlow id="Flow_Timer_delete_account__Task_delete_account" sourceRef="Timer_delete_account" targetRef="Task_delete_account" />
    <bpmn:sequenceFlow id="Flow_Timer_final_pay__Task_final_pay" sourceRef="Timer_final_pay" targetRef="Task_final_pay" />
    <bpmn:sequenceFlow id="Flow_Timer_laptop_returned__Task_laptop_returned" sourceRef="Timer_laptop_returned" targetRef="Task_laptop_returned" />
    <bpmn:sequenceFlow id="Flow_Timer_exit_survey__Task_exit_survey" sourceRef="Timer_exit_survey" targetRef="Task_exit_survey" />
    <bpmn:sequenceFlow id="Flow_Timer_revoke_erp_login__Task_revoke_erp_login" sourceRef="Timer_revoke_erp_login" targetRef="Task_revoke_erp_login" />
    <bpmn:sequenceFlow id="Flow_Timer_offer_outplacement__Task_offer_outplacement" sourceRef="Timer_offer_outplacement" targetRef="Task_offer_outplacement" />
    <bpmn:sequenceFlow id="Flow_Gateway_offer_outplacement__if__Timer_offer_outplacement" name="yes" sourceRef="Gateway_offer_outplacement__if" targetRef="Timer_offer_outplacement">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">the reason is redundancy</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_Gateway_offer_outplacement__if__Gateway_offer_outplacement__if_end" name="no: skipped" sourceRef="Gateway_offer_outplacement__if" targetRef="Gateway_offer_outplacement__if_end" />
    <bpmn:sequenceFlow id="Flow_Task_offer_outplacement__Gateway_offer_outplacement__if_end" sourceRef="Task_offer_outplacement" targetRef="Gateway_offer_outplacement__if_end" />
    <bpmn:sequenceFlow id="Flow_StartEvent__Gateway_start" sourceRef="StartEvent" targetRef="Gateway_start" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Task_handover_list__draft" sourceRef="Gateway_start" targetRef="Task_handover_list__draft" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Task_approve_access_removal" sourceRef="Gateway_start" targetRef="Task_approve_access_removal" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Timer_approve_account_deletion" sourceRef="Gateway_start" targetRef="Timer_approve_account_deletion" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Timer_final_pay" sourceRef="Gateway_start" targetRef="Timer_final_pay" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Timer_laptop_returned" sourceRef="Gateway_start" targetRef="Timer_laptop_returned" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Timer_exit_survey" sourceRef="Gateway_start" targetRef="Timer_exit_survey" />
    <bpmn:sequenceFlow id="Flow_Gateway_start__Gateway_offer_outplacement__if" sourceRef="Gateway_start" targetRef="Gateway_offer_outplacement__if" />
    <bpmn:sequenceFlow id="Flow_Task_approve_access_removal__Gateway_approve_access_removal__fork" sourceRef="Task_approve_access_removal" targetRef="Gateway_approve_access_removal__fork" />
    <bpmn:sequenceFlow id="Flow_Gateway_delete_account__join__Timer_delete_account" sourceRef="Gateway_delete_account__join" targetRef="Timer_delete_account" />
    <bpmn:sequenceFlow id="Flow_Gateway_approve_access_removal__fork__Timer_suspend_account" sourceRef="Gateway_approve_access_removal__fork" targetRef="Timer_suspend_account" />
    <bpmn:sequenceFlow id="Flow_Gateway_approve_access_removal__fork__Timer_transfer_drive" sourceRef="Gateway_approve_access_removal__fork" targetRef="Timer_transfer_drive" />
    <bpmn:sequenceFlow id="Flow_Gateway_approve_access_removal__fork__Timer_out_of_office" sourceRef="Gateway_approve_access_removal__fork" targetRef="Timer_out_of_office" />
    <bpmn:sequenceFlow id="Flow_Gateway_approve_access_removal__fork__Timer_remove_from_groups" sourceRef="Gateway_approve_access_removal__fork" targetRef="Timer_remove_from_groups" />
    <bpmn:sequenceFlow id="Flow_Gateway_approve_access_removal__fork__Timer_remove_from_chat_spaces" sourceRef="Gateway_approve_access_removal__fork" targetRef="Timer_remove_from_chat_spaces" />
    <bpmn:sequenceFlow id="Flow_Task_transfer_drive__Gateway_delete_account__join" sourceRef="Task_transfer_drive" targetRef="Gateway_delete_account__join" />
    <bpmn:sequenceFlow id="Flow_Task_approve_account_deletion__Gateway_delete_account__join" sourceRef="Task_approve_account_deletion" targetRef="Gateway_delete_account__join" />
    <bpmn:sequenceFlow id="Flow_Gateway_approve_access_removal__fork__Timer_revoke_erp_login" sourceRef="Gateway_approve_access_removal__fork" targetRef="Timer_revoke_erp_login" />
    <bpmn:sequenceFlow id="Flow_Task_handover_list__Gateway_end" sourceRef="Task_handover_list" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_suspend_account__Gateway_end" sourceRef="Task_suspend_account" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_out_of_office__Gateway_end" sourceRef="Task_out_of_office" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_remove_from_groups__Gateway_end" sourceRef="Task_remove_from_groups" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_remove_from_chat_spaces__Gateway_end" sourceRef="Task_remove_from_chat_spaces" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_delete_account__Gateway_end" sourceRef="Task_delete_account" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_final_pay__Gateway_end" sourceRef="Task_final_pay" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_laptop_returned__Gateway_end" sourceRef="Task_laptop_returned" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_exit_survey__Gateway_end" sourceRef="Task_exit_survey" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Task_revoke_erp_login__Gateway_end" sourceRef="Task_revoke_erp_login" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Gateway_offer_outplacement__if_end__Gateway_end" sourceRef="Gateway_offer_outplacement__if_end" targetRef="Gateway_end" />
    <bpmn:sequenceFlow id="Flow_Gateway_end__EndEvent" sourceRef="Gateway_end" targetRef="EndEvent" />
    <bpmn:dataObject id="DataObject_draft_handover" name="Draft: Handover list">
      <bpmn:documentation>The handover list as approved (approve_draft); what later steps send.</bpmn:documentation>
    </bpmn:dataObject>
    <bpmn:dataObjectReference id="DataObjectReference_draft_handover" name="Draft: Handover list" dataObjectRef="DataObject_draft_handover" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_employee-offboarding_v1" name="Employee offboarding">
    <bpmndi:BPMNPlane id="BPMNPlane_employee-offboarding_v1" bpmnElement="Collaboration_employee-offboarding_v1">
      <bpmndi:BPMNShape id="Participant_employee-offboarding_di" bpmnElement="Participant_employee-offboarding" isHorizontal="true" isExpanded="true">
        <dc:Bounds x="150" y="80" width="1750" height="1440" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_manager_di" bpmnElement="Lane_manager" isHorizontal="true">
        <dc:Bounds x="180" y="80" width="1720" height="240" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_hr_di" bpmnElement="Lane_hr" isHorizontal="true">
        <dc:Bounds x="180" y="320" width="1720" height="360" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_it_di" bpmnElement="Lane_it" isHorizontal="true">
        <dc:Bounds x="180" y="680" width="1720" height="720" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Lane_finance_di" bpmnElement="Lane_finance" isHorizontal="true">
        <dc:Bounds x="180" y="1400" width="1720" height="120" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_di" bpmnElement="StartEvent">
        <dc:Bounds x="287" y="122" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_di" bpmnElement="EndEvent">
        <dc:Bounds x="1787" y="122" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_handover_list__draft_di" bpmnElement="Task_handover_list__draft">
        <dc:Bounds x="555" y="100" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_handover_list_di" bpmnElement="Task_handover_list">
        <dc:Bounds x="705" y="100" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_approve_access_removal_di" bpmnElement="Task_approve_access_removal">
        <dc:Bounds x="555" y="340" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_suspend_account_di" bpmnElement="Timer_suspend_account">
        <dc:Bounds x="887" y="722" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_suspend_account_di" bpmnElement="Task_suspend_account">
        <dc:Bounds x="1005" y="700" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_transfer_drive_di" bpmnElement="Timer_transfer_drive">
        <dc:Bounds x="887" y="842" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_transfer_drive_di" bpmnElement="Task_transfer_drive">
        <dc:Bounds x="1005" y="820" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_out_of_office_di" bpmnElement="Timer_out_of_office">
        <dc:Bounds x="887" y="962" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_out_of_office_di" bpmnElement="Task_out_of_office">
        <dc:Bounds x="1005" y="940" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_remove_from_groups_di" bpmnElement="Timer_remove_from_groups">
        <dc:Bounds x="887" y="1082" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_remove_from_groups_di" bpmnElement="Task_remove_from_groups">
        <dc:Bounds x="1005" y="1060" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_remove_from_chat_spaces_di" bpmnElement="Timer_remove_from_chat_spaces">
        <dc:Bounds x="887" y="1202" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_remove_from_chat_spaces_di" bpmnElement="Task_remove_from_chat_spaces">
        <dc:Bounds x="1005" y="1180" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_approve_account_deletion_di" bpmnElement="Timer_approve_account_deletion">
        <dc:Bounds x="587" y="722" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_approve_account_deletion_di" bpmnElement="Task_approve_account_deletion">
        <dc:Bounds x="705" y="700" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_delete_account_di" bpmnElement="Timer_delete_account">
        <dc:Bounds x="1337" y="722" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_delete_account_di" bpmnElement="Task_delete_account">
        <dc:Bounds x="1455" y="700" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_final_pay_di" bpmnElement="Timer_final_pay">
        <dc:Bounds x="587" y="1442" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_final_pay_di" bpmnElement="Task_final_pay">
        <dc:Bounds x="705" y="1420" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_laptop_returned_di" bpmnElement="Timer_laptop_returned">
        <dc:Bounds x="587" y="842" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_laptop_returned_di" bpmnElement="Task_laptop_returned">
        <dc:Bounds x="705" y="820" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_exit_survey_di" bpmnElement="Timer_exit_survey">
        <dc:Bounds x="587" y="482" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_exit_survey_di" bpmnElement="Task_exit_survey">
        <dc:Bounds x="705" y="340" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_revoke_erp_login_di" bpmnElement="Timer_revoke_erp_login">
        <dc:Bounds x="887" y="1322" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_revoke_erp_login_di" bpmnElement="Task_revoke_erp_login">
        <dc:Bounds x="1005" y="1300" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Timer_offer_outplacement_di" bpmnElement="Timer_offer_outplacement">
        <dc:Bounds x="737" y="482" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_offer_outplacement_di" bpmnElement="Task_offer_outplacement">
        <dc:Bounds x="855" y="340" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_offer_outplacement__if_di" bpmnElement="Gateway_offer_outplacement__if">
        <dc:Bounds x="580" y="595" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_offer_outplacement__if_end_di" bpmnElement="Gateway_offer_outplacement__if_end">
        <dc:Bounds x="1030" y="355" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_start_di" bpmnElement="Gateway_start">
        <dc:Bounds x="430" y="115" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_approve_access_removal__fork_di" bpmnElement="Gateway_approve_access_removal__fork">
        <dc:Bounds x="730" y="595" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_delete_account__join_di" bpmnElement="Gateway_delete_account__join">
        <dc:Bounds x="1180" y="715" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_end_di" bpmnElement="Gateway_end">
        <dc:Bounds x="1630" y="115" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="DataObjectReference_draft_handover_di" bpmnElement="DataObjectReference_draft_handover">
        <dc:Bounds x="587" y="235" width="36" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_drafting_di" bpmnElement="Participant_drafting" isHorizontal="true" isExpanded="false">
        <dc:Bounds x="495" y="1620" width="220" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_chat_di" bpmnElement="Participant_chat" isHorizontal="true" isExpanded="false">
        <dc:Bounds x="945" y="1620" width="220" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_drive_di" bpmnElement="Participant_drive" isHorizontal="true" isExpanded="false">
        <dc:Bounds x="1195" y="1620" width="220" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_groups_di" bpmnElement="Participant_groups" isHorizontal="true" isExpanded="false">
        <dc:Bounds x="1445" y="1620" width="220" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_identity_di" bpmnElement="Participant_identity" isHorizontal="true" isExpanded="false">
        <dc:Bounds x="1695" y="1620" width="220" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Participant_mail_di" bpmnElement="Participant_mail" isHorizontal="true" isExpanded="false">
        <dc:Bounds x="1945" y="1620" width="220" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_Task_handover_list__draft__Task_handover_list_di" bpmnElement="Flow_Task_handover_list__draft__Task_handover_list">
        <di:waypoint x="655" y="140" />
        <di:waypoint x="705" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_suspend_account__Task_suspend_account_di" bpmnElement="Flow_Timer_suspend_account__Task_suspend_account">
        <di:waypoint x="923" y="740" />
        <di:waypoint x="1005" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_transfer_drive__Task_transfer_drive_di" bpmnElement="Flow_Timer_transfer_drive__Task_transfer_drive">
        <di:waypoint x="923" y="860" />
        <di:waypoint x="1005" y="860" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_out_of_office__Task_out_of_office_di" bpmnElement="Flow_Timer_out_of_office__Task_out_of_office">
        <di:waypoint x="923" y="980" />
        <di:waypoint x="1005" y="980" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_remove_from_groups__Task_remove_from_groups_di" bpmnElement="Flow_Timer_remove_from_groups__Task_remove_from_groups">
        <di:waypoint x="923" y="1100" />
        <di:waypoint x="1005" y="1100" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_remove_from_chat_spaces__Task_remove_from_chat_spaces_di" bpmnElement="Flow_Timer_remove_from_chat_spaces__Task_remove_from_chat_spaces">
        <di:waypoint x="923" y="1220" />
        <di:waypoint x="1005" y="1220" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_approve_account_deletion__Task_approve_account_deletion_di" bpmnElement="Flow_Timer_approve_account_deletion__Task_approve_account_deletion">
        <di:waypoint x="623" y="740" />
        <di:waypoint x="705" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_delete_account__Task_delete_account_di" bpmnElement="Flow_Timer_delete_account__Task_delete_account">
        <di:waypoint x="1373" y="740" />
        <di:waypoint x="1455" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_final_pay__Task_final_pay_di" bpmnElement="Flow_Timer_final_pay__Task_final_pay">
        <di:waypoint x="623" y="1460" />
        <di:waypoint x="705" y="1460" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_laptop_returned__Task_laptop_returned_di" bpmnElement="Flow_Timer_laptop_returned__Task_laptop_returned">
        <di:waypoint x="623" y="860" />
        <di:waypoint x="705" y="860" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_exit_survey__Task_exit_survey_di" bpmnElement="Flow_Timer_exit_survey__Task_exit_survey">
        <di:waypoint x="623" y="500" />
        <di:waypoint x="664" y="500" />
        <di:waypoint x="664" y="380" />
        <di:waypoint x="705" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_revoke_erp_login__Task_revoke_erp_login_di" bpmnElement="Flow_Timer_revoke_erp_login__Task_revoke_erp_login">
        <di:waypoint x="923" y="1340" />
        <di:waypoint x="1005" y="1340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Timer_offer_outplacement__Task_offer_outplacement_di" bpmnElement="Flow_Timer_offer_outplacement__Task_offer_outplacement">
        <di:waypoint x="773" y="500" />
        <di:waypoint x="814" y="500" />
        <di:waypoint x="814" y="380" />
        <di:waypoint x="855" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_offer_outplacement__if__Timer_offer_outplacement_di" bpmnElement="Flow_Gateway_offer_outplacement__if__Timer_offer_outplacement">
        <di:waypoint x="630" y="620" />
        <di:waypoint x="683" y="620" />
        <di:waypoint x="683" y="500" />
        <di:waypoint x="737" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_offer_outplacement__if__Gateway_offer_outplacement__if_end_di" bpmnElement="Flow_Gateway_offer_outplacement__if__Gateway_offer_outplacement__if_end">
        <di:waypoint x="605" y="645" />
        <di:waypoint x="605" y="672" />
        <di:waypoint x="1005" y="672" />
        <di:waypoint x="1005" y="380" />
        <di:waypoint x="1030" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_offer_outplacement__Gateway_offer_outplacement__if_end_di" bpmnElement="Flow_Task_offer_outplacement__Gateway_offer_outplacement__if_end">
        <di:waypoint x="955" y="380" />
        <di:waypoint x="1030" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_StartEvent__Gateway_start_di" bpmnElement="Flow_StartEvent__Gateway_start">
        <di:waypoint x="323" y="140" />
        <di:waypoint x="430" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Task_handover_list__draft_di" bpmnElement="Flow_Gateway_start__Task_handover_list__draft">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="555" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Task_approve_access_removal_di" bpmnElement="Flow_Gateway_start__Task_approve_access_removal">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="517" y="140" />
        <di:waypoint x="517" y="380" />
        <di:waypoint x="555" y="380" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Timer_approve_account_deletion_di" bpmnElement="Flow_Gateway_start__Timer_approve_account_deletion">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="533" y="140" />
        <di:waypoint x="533" y="740" />
        <di:waypoint x="587" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Timer_final_pay_di" bpmnElement="Flow_Gateway_start__Timer_final_pay">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="533" y="140" />
        <di:waypoint x="533" y="1460" />
        <di:waypoint x="587" y="1460" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Timer_laptop_returned_di" bpmnElement="Flow_Gateway_start__Timer_laptop_returned">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="533" y="140" />
        <di:waypoint x="533" y="860" />
        <di:waypoint x="587" y="860" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Timer_exit_survey_di" bpmnElement="Flow_Gateway_start__Timer_exit_survey">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="533" y="140" />
        <di:waypoint x="533" y="500" />
        <di:waypoint x="587" y="500" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_start__Gateway_offer_outplacement__if_di" bpmnElement="Flow_Gateway_start__Gateway_offer_outplacement__if">
        <di:waypoint x="480" y="140" />
        <di:waypoint x="530" y="140" />
        <di:waypoint x="530" y="620" />
        <di:waypoint x="580" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_approve_access_removal__Gateway_approve_access_removal__fork_di" bpmnElement="Flow_Task_approve_access_removal__Gateway_approve_access_removal__fork">
        <di:waypoint x="655" y="380" />
        <di:waypoint x="692" y="380" />
        <di:waypoint x="692" y="620" />
        <di:waypoint x="730" y="620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_delete_account__join__Timer_delete_account_di" bpmnElement="Flow_Gateway_delete_account__join__Timer_delete_account">
        <di:waypoint x="1230" y="740" />
        <di:waypoint x="1337" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_approve_access_removal__fork__Timer_suspend_account_di" bpmnElement="Flow_Gateway_approve_access_removal__fork__Timer_suspend_account">
        <di:waypoint x="780" y="620" />
        <di:waypoint x="833" y="620" />
        <di:waypoint x="833" y="740" />
        <di:waypoint x="887" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_approve_access_removal__fork__Timer_transfer_drive_di" bpmnElement="Flow_Gateway_approve_access_removal__fork__Timer_transfer_drive">
        <di:waypoint x="780" y="620" />
        <di:waypoint x="833" y="620" />
        <di:waypoint x="833" y="860" />
        <di:waypoint x="887" y="860" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_approve_access_removal__fork__Timer_out_of_office_di" bpmnElement="Flow_Gateway_approve_access_removal__fork__Timer_out_of_office">
        <di:waypoint x="780" y="620" />
        <di:waypoint x="833" y="620" />
        <di:waypoint x="833" y="980" />
        <di:waypoint x="887" y="980" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_approve_access_removal__fork__Timer_remove_from_groups_di" bpmnElement="Flow_Gateway_approve_access_removal__fork__Timer_remove_from_groups">
        <di:waypoint x="780" y="620" />
        <di:waypoint x="833" y="620" />
        <di:waypoint x="833" y="1100" />
        <di:waypoint x="887" y="1100" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_approve_access_removal__fork__Timer_remove_from_chat_spaces_di" bpmnElement="Flow_Gateway_approve_access_removal__fork__Timer_remove_from_chat_spaces">
        <di:waypoint x="780" y="620" />
        <di:waypoint x="833" y="620" />
        <di:waypoint x="833" y="1220" />
        <di:waypoint x="887" y="1220" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_transfer_drive__Gateway_delete_account__join_di" bpmnElement="Flow_Task_transfer_drive__Gateway_delete_account__join">
        <di:waypoint x="1105" y="860" />
        <di:waypoint x="1142" y="860" />
        <di:waypoint x="1142" y="740" />
        <di:waypoint x="1180" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_approve_account_deletion__Gateway_delete_account__join_di" bpmnElement="Flow_Task_approve_account_deletion__Gateway_delete_account__join">
        <di:waypoint x="755" y="780" />
        <di:waypoint x="755" y="792" />
        <di:waypoint x="1155" y="792" />
        <di:waypoint x="1155" y="740" />
        <di:waypoint x="1180" y="740" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_approve_access_removal__fork__Timer_revoke_erp_login_di" bpmnElement="Flow_Gateway_approve_access_removal__fork__Timer_revoke_erp_login">
        <di:waypoint x="780" y="620" />
        <di:waypoint x="833" y="620" />
        <di:waypoint x="833" y="1340" />
        <di:waypoint x="887" y="1340" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_handover_list__Gateway_end_di" bpmnElement="Flow_Task_handover_list__Gateway_end">
        <di:waypoint x="755" y="180" />
        <di:waypoint x="755" y="192" />
        <di:waypoint x="1605" y="192" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_suspend_account__Gateway_end_di" bpmnElement="Flow_Task_suspend_account__Gateway_end">
        <di:waypoint x="1055" y="780" />
        <di:waypoint x="1055" y="792" />
        <di:waypoint x="1605" y="792" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_out_of_office__Gateway_end_di" bpmnElement="Flow_Task_out_of_office__Gateway_end">
        <di:waypoint x="1055" y="1020" />
        <di:waypoint x="1055" y="1032" />
        <di:waypoint x="1605" y="1032" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_remove_from_groups__Gateway_end_di" bpmnElement="Flow_Task_remove_from_groups__Gateway_end">
        <di:waypoint x="1055" y="1140" />
        <di:waypoint x="1055" y="1152" />
        <di:waypoint x="1605" y="1152" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_remove_from_chat_spaces__Gateway_end_di" bpmnElement="Flow_Task_remove_from_chat_spaces__Gateway_end">
        <di:waypoint x="1055" y="1260" />
        <di:waypoint x="1055" y="1272" />
        <di:waypoint x="1605" y="1272" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_delete_account__Gateway_end_di" bpmnElement="Flow_Task_delete_account__Gateway_end">
        <di:waypoint x="1555" y="740" />
        <di:waypoint x="1592" y="740" />
        <di:waypoint x="1592" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_final_pay__Gateway_end_di" bpmnElement="Flow_Task_final_pay__Gateway_end">
        <di:waypoint x="755" y="1500" />
        <di:waypoint x="755" y="1512" />
        <di:waypoint x="1605" y="1512" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_laptop_returned__Gateway_end_di" bpmnElement="Flow_Task_laptop_returned__Gateway_end">
        <di:waypoint x="755" y="900" />
        <di:waypoint x="755" y="912" />
        <di:waypoint x="1605" y="912" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_exit_survey__Gateway_end_di" bpmnElement="Flow_Task_exit_survey__Gateway_end">
        <di:waypoint x="755" y="420" />
        <di:waypoint x="755" y="432" />
        <di:waypoint x="1605" y="432" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Task_revoke_erp_login__Gateway_end_di" bpmnElement="Flow_Task_revoke_erp_login__Gateway_end">
        <di:waypoint x="1055" y="1380" />
        <di:waypoint x="1055" y="1392" />
        <di:waypoint x="1605" y="1392" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_offer_outplacement__if_end__Gateway_end_di" bpmnElement="Flow_Gateway_offer_outplacement__if_end__Gateway_end">
        <di:waypoint x="1055" y="405" />
        <di:waypoint x="1055" y="432" />
        <di:waypoint x="1605" y="432" />
        <di:waypoint x="1605" y="140" />
        <di:waypoint x="1630" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_Gateway_end__EndEvent_di" bpmnElement="Flow_Gateway_end__EndEvent">
        <di:waypoint x="1680" y="140" />
        <di:waypoint x="1787" y="140" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_handover_list__draft_di" bpmnElement="MessageFlow_Task_handover_list__draft">
        <di:waypoint x="635" y="180" />
        <di:waypoint x="635" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_suspend_account_di" bpmnElement="MessageFlow_Task_suspend_account">
        <di:waypoint x="1085" y="780" />
        <di:waypoint x="1085" y="1590" />
        <di:waypoint x="1710" y="1590" />
        <di:waypoint x="1710" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_transfer_drive_di" bpmnElement="MessageFlow_Task_transfer_drive">
        <di:waypoint x="1085" y="900" />
        <di:waypoint x="1085" y="1590" />
        <di:waypoint x="1210" y="1590" />
        <di:waypoint x="1210" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_out_of_office_di" bpmnElement="MessageFlow_Task_out_of_office">
        <di:waypoint x="1085" y="1020" />
        <di:waypoint x="1085" y="1590" />
        <di:waypoint x="1960" y="1590" />
        <di:waypoint x="1960" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_remove_from_groups_di" bpmnElement="MessageFlow_Task_remove_from_groups">
        <di:waypoint x="1085" y="1140" />
        <di:waypoint x="1085" y="1590" />
        <di:waypoint x="1460" y="1590" />
        <di:waypoint x="1460" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_remove_from_chat_spaces_di" bpmnElement="MessageFlow_Task_remove_from_chat_spaces">
        <di:waypoint x="1085" y="1260" />
        <di:waypoint x="1085" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_delete_account_di" bpmnElement="MessageFlow_Task_delete_account">
        <di:waypoint x="1535" y="780" />
        <di:waypoint x="1535" y="1590" />
        <di:waypoint x="1710" y="1590" />
        <di:waypoint x="1710" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="MessageFlow_Task_revoke_erp_login_di" bpmnElement="MessageFlow_Task_revoke_erp_login">
        <di:waypoint x="1085" y="1380" />
        <di:waypoint x="1085" y="1590" />
        <di:waypoint x="1710" y="1590" />
        <di:waypoint x="1710" y="1620" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="DataOutputAssociation_Task_handover_list__draft_draft_handover_di" bpmnElement="DataOutputAssociation_Task_handover_list__draft_draft_handover">
        <di:waypoint x="605" y="180" />
        <di:waypoint x="605" y="235" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>