> ## Documentation Index
> Fetch the complete documentation index at: https://docs.oleria.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Employee Lifecycle - Leaver

> Automate employee offboarding by revoking access when a departure is detected in your HR system, or by manually entering employees to offboard on demand.

Revoke access for departing employees - automatically or on demand - to close offboarding gaps and reduce the risk of unauthorized access after someone leaves your organization.

Oleria provides two leaver lifecycle types:

* **Leaver: HR-Triggered** - Oleria polls your connected HR system every two hours and processes employees whose departure date is detected. Best suited for planned departures such as resignations and retirements.
* **Leaver: Manual Entry** - An admin enters employees individually or uploads a CSV file to start offboarding immediately. Best suited for terminations where you cannot wait for an HR system sync.

## Prerequisites

* Admin, Governance Operator, or Identity Lifecycle Operator role on the Oleria platform
* A connected HR platform (required for both lifecycle types) - see [Integrations](/integrations/overview)
* Connected applications for account deprovisioning

## Creating a leaver lifecycle

Navigate to **Employee Lifecycle** -> **Lifecycles** and select **Create lifecycle** to open the template picker. Choose **Leaver: HR-Triggered** or **Leaver: Manual Entry** to begin the setup wizard.

<img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-1.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=e04780b71270088b804fefa7806ee528" alt="Lifecycle template selection page" width="3356" height="1912" data-path="images/governance/employee-lifecycle-leaver/step-1.png" />

<Tabs>
  <Tab title="HR-Triggered">
    The HR-Triggered lifecycle monitors your connected HR system and processes departures automatically. After you publish the lifecycle, Oleria checks your HR data every two hours and enrolls employees whose departure date is detected.

    <Steps>
      <Step title="Review the schedule trigger">
        The schedule trigger is pre-configured. Oleria checks your connected HR system every two hours to detect employees with departure dates. Each employee's leaver actions begin at the time you set in the Day of Departure step.

        <Note>
          Configure your HR system connection under **Settings** before creating an HR-Triggered lifecycle.
        </Note>
      </Step>

      <Step title="Configure pre-departure notifications (optional)">
        Optionally send notifications before an employee's departure date. Set the number of days in advance and choose who receives the notification - the employee's manager or a specific user.

        You can configure email notifications here, and Slack or Teams messages if you have a messaging system connected. If Oleria detects an employee whose departure date is already within the configured window, the notification goes out immediately rather than waiting.
      </Step>

      <Step title="Configure day-of-departure actions">
        Set the **Start time** for leaver actions - the time on the departure date when Oleria begins deprovisioning. This field is required.

        By default, Oleria logs the departing employee out of all active sessions and transfers resource ownership to their manager. Additional actions you can enable:

        | Action                                      | What Oleria does                                                                   |
        | :------------------------------------------ | :--------------------------------------------------------------------------------- |
        | **Disable accounts**                        | Disables all known IDP accounts and non-SSO accounts                               |
        | **Remove from groups**                      | Removes the employee from groups and roles across all connected identity providers |
        | **Create ticket**                           | Creates a ticket in your configured ticketing system                               |
        | **Send email at departure start**           | Notifies the manager or a specific user when leaver actions begin                  |
        | **Send email when deprovisioning finishes** | Notifies the manager or a specific user when all actions complete                  |

        Email and Slack or Teams message options are available for both notification points.

        <img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-2.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=b641e0d8a772a78bff4c073bebcd4815" alt="Leaver lifecycle day of depature configuration step" width="3356" height="3454" data-path="images/governance/employee-lifecycle-leaver/step-2.png" />
      </Step>

      <Step title="Configure post-departure monitoring (optional)">
        Optionally enable alerts if any disabled accounts are reactivated after the employee leaves. Set the number of days to monitor and select who receives the notification.

        This step protects against scenarios where a disabled account is inadvertently re-enabled after offboarding.
      </Step>

      <Step title="Review and publish">
        On the summary page, review your full configuration. Enter a lifecycle name (required) and an optional description.

        Enable **Dry-run mode** to preview what access changes Oleria would make without applying them. Disable dry-run when you are ready for the lifecycle to take effect on future runs. Previous simulated runs are not retroactively applied.

        Select **Publish** to activate the lifecycle. Once published, Oleria runs on schedule and enrolls employees automatically.

        <Note>
          Only one lifecycle of each type can be active at a time. Lifecycles cannot be deleted - if you need to stop a lifecycle, disable it from the lifecycle details page.
        </Note>
      </Step>
    </Steps>
  </Tab>

  <Tab title="Manual Entry">
    The Manual Entry lifecycle gives admins direct control over which employees are offboarded. After you publish the lifecycle, you run it on demand by adding employees from the lifecycle details page.

    <Steps>
      <Step title="Review the manual trigger">
        This step explains how the lifecycle works after publishing. To offboard employees, navigate to the lifecycle details page and select **Add employees**. Each run supports up to 10 employees when entering addresses manually, or up to 500 emails when uploading a CSV file.

        <Note>
          Unlike HR-Triggered, Manual Entry does not run on a schedule. You initiate each run from the lifecycle details page after publishing.
        </Note>
      </Step>

      <Step title="Configure day-of-departure actions">
        Select the actions Oleria takes when you run the lifecycle. By default, Oleria logs the employee out of all active sessions and transfers resource ownership to their manager.

        Additional actions you can enable:

        | Action                                      | What Oleria does                                                                   |
        | :------------------------------------------ | :--------------------------------------------------------------------------------- |
        | **Disable accounts**                        | Disables all known IDP accounts and non-SSO accounts                               |
        | **Remove from groups**                      | Removes the employee from groups and roles across all connected identity providers |
        | **Create ticket**                           | Creates a ticket in your configured ticketing system                               |
        | **Send email at departure start**           | Notifies the manager or a specific user when leaver actions begin                  |
        | **Send email when deprovisioning finishes** | Notifies the manager or a specific user when all actions complete                  |
      </Step>

      <Step title="Configure post-departure monitoring (optional)">
        Optionally enable alerts if any disabled accounts are reactivated after the employee leaves. Set the number of days to monitor and select who receives the notification.
      </Step>

      <Step title="Review and publish">
        On the summary page, review your full configuration. Enter a lifecycle name (required) and an optional description.

        Enable **Dry-run mode** to preview what access changes Oleria would make without applying them.

        Select **Publish** to activate the lifecycle.
      </Step>
    </Steps>
  </Tab>
</Tabs>

## Running a Manual Entry lifecycle

After publishing a Manual Entry lifecycle, offboard employees by navigating to the lifecycle details page and selecting **Add employees**.

<img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-3.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=b420522e91e724003fc3775059649eca" alt="Add employees button on the lifecycle details page" width="3354" height="1602" data-path="images/governance/employee-lifecycle-leaver/step-3.png" />

<Steps>
  <Step title="Choose how to add employees">
    Select one of two methods:

    * **Add employees manually** - enter up to 10 email addresses using the employee search field
    * **Upload a file** - upload a CSV file with up to 500 email addresses

          <img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-4.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=0bd0e1830ab28e60a482435747c76cfd" alt="Add employees sheet showing the two methods" width="3356" height="1476" data-path="images/governance/employee-lifecycle-leaver/step-4.png" />
  </Step>

  <Step title="Add employees">
    **If adding manually:** Use the search field to find and select each employee by name or email address. You can add up to 10 employees per run.

    **If uploading a CSV file:** Prepare a spreadsheet with a single column labeled **Email** containing each employee's email address. Export it as a `.csv` file (maximum 1 MB and 500 rows). Drag and drop the file onto the upload area or select it using the file picker.

    Then choose when to start offboarding:

    * **Immediately** - actions begin as soon as you submit
    * **Schedule for later** - pick a date, time, and timezone up to 90 days in the future

    <Note>
      Scheduled offboarding may begin within two hours of the selected time rather than exactly at it.
    </Note>
  </Step>

  <Step title="Review and submit">
    The review step shows how many employees matched records in Oleria and when offboarding is set to begin. Any email addresses with no matching employee record are listed so you can verify them before proceeding.

    Select **Submit** to start the lifecycle run. Employees may take up to a minute to appear in the lifecycle details page.
  </Step>
</Steps>

## Leaver event details

Each employee processed by a leaver lifecycle appears as an individual event. Select an employee's name from the lifecycle details page to open their event details page.

<img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-5.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=eba96329ec7616b0ae83bdbe0e0ca3d0" alt="Leaver lifecycle details page showing the employee table with phase, status, and access deprovisioned columns" width="3352" height="2462" data-path="images/governance/employee-lifecycle-leaver/step-5.png" />

The page shows:

* **User details** - name, User ID, Employee No., department, manager, job title, and company code
* **Termination date** - the departure date sourced from your HR system (HR-Triggered lifecycles only)
* **Current phase** - the employee's position in the lifecycle: Pre-Departure, Day of Departure, or Post-Departure
* **Access deprovisioned** - the count of access entries removed out of the total identified, shown as a percentage
* **Access schedule card** - when leaver actions are scheduled to run or have already run, with options to edit or cancel (HR-Triggered lifecycles only)
* **Ticket** - a link to the associated ticket if ticketing is configured

<img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-6.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=3732342df8df38cb7d5f4db59f97d4e9" alt="Employee event page showing the employee table with phase, status, and access deprovisioned columns" width="3358" height="1710" data-path="images/governance/employee-lifecycle-leaver/step-6.png" />

Use the three tabs to review the employee's access during offboarding:

* **Identity** - accounts across connected identity providers, with status, action type, completion time, and any errors
* **Application accounts** - application accounts with the same columns
* **Groups** - group memberships removed with the same columns

Each tab supports filtering by status and action type, and includes a CSV export.

## Lifecycle phase

Each leaver event moves through phases that reflect where it is in the offboarding process. The current phase appears on the event details page and in the lifecycle details table.

| Phase                | What it means                                                                                                                                                                                                                                            |
| :------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Pre-Departure**    | Oleria has detected the employee's upcoming departure and is waiting for the departure date. Pre-departure notifications fire during this phase, and the access schedule can be edited or cancelled. This phase only applies to HR-Triggered lifecycles. |
| **Day of Departure** | Leaver actions are executing on the departure date: active sessions are revoked, accounts are disabled, group memberships are removed, and resource ownership is transferred. Manual Entry lifecycle events begin here immediately when triggered.       |
| **Post-Departure**   | Departure actions are complete. Oleria monitors disabled accounts for reactivation and sends alerts if any come back online, based on your post-departure configuration.                                                                                 |
| **Closed**           | The event is complete and no further actions will run.                                                                                                                                                                                                   |

## Event status

Each leaver event also has a status that reflects the state of its actions. The status appears alongside the phase in the lifecycle details table and on the event details page.

| Status          | What it means                                                                                                                                                               |
| :-------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Scheduled**   | The event is waiting for its configured start time. You can edit or cancel the access schedule while an event has this status.                                              |
| **In progress** | Leaver actions are currently running.                                                                                                                                       |
| **Completed**   | All configured actions finished successfully.                                                                                                                               |
| **Failed**      | One or more actions encountered an error. Open the **Identity**, **Application accounts**, or **Groups** tab on the event details page to see which actions failed and why. |
| **Cancelled**   | An admin cancelled the scheduled access removal. The employee's access remains active.                                                                                      |
| **Superseded**  | A newer lifecycle run for this employee replaced this event.                                                                                                                |

<Note>
  If a lifecycle is running in **Dry-run mode**, the event details page shows a **Dry Run** label alongside the access deprovisioned count. Actions appear to complete normally, but no access changes are applied.
</Note>

## Adjusting the access schedule

For HR-Triggered lifecycle events still in the Pre-Departure phase, you can change when leaver actions will begin on the departure date.

<Steps>
  <Step title="Open the event details">
    Navigate to **Employee Lifecycle** -> select the leaver lifecycle -> select the employee's name.
  </Step>

  <Step title="Edit the access schedule">
    Select the pencil icon in the **Access schedule** card to open the schedule editor.

    <img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-7.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=df4cd41c3ae71ac4360f9d35d33c77be" alt="Edit access schedule button on a leaver event details page" width="3354" height="1664" data-path="images/governance/employee-lifecycle-leaver/step-7.png" />

    Choose a new start time and timezone. The time must be in the future and no later than one day after the employee's termination date.

    Select **Save** to apply the change.

    <img src="https://mintcdn.com/oleria/mufVnF07M4Mh7PN7/images/governance/employee-lifecycle-leaver/step-8.png?fit=max&auto=format&n=mufVnF07M4Mh7PN7&q=85&s=8596478b0d51b8368af3ff1f7b7a65cc" alt="Edit access schedule sheet showing configuration options" width="3358" height="1544" data-path="images/governance/employee-lifecycle-leaver/step-8.png" />

    <Note>
      The edit option is available only while the event is in the Pre-Departure phase. Once leaver actions have started, the schedule can no longer be changed.
    </Note>
  </Step>
</Steps>

## Cancelling a scheduled offboarding

If an employee's departure is cancelled or postponed, you can cancel their scheduled access removal before leaver actions begin.

<Steps>
  <Step title="Open the event details">
    Navigate to **Employee Lifecycle** -> select the leaver lifecycle -> select the employee's name.
  </Step>

  <Step title="Cancel the schedule">
    Select **Cancel schedule** in the **Access schedule** card and confirm in the dialog.

    Oleria takes no further action for this event. The employee's access remains active until you remove it manually or run another leaver lifecycle for them.

    <Warning>
      Cancelling a scheduled offboarding does not remove the employee's access. If the employee eventually departs, you are responsible for revoking access through another method.
    </Warning>
  </Step>
</Steps>

## Contact us

For questions, contact us at [support@oleria.com](mailto:support@oleria.com).
