> ## 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.

# Disable dormant accounts

> Automatically find accounts inactive beyond a set threshold and disable them, with a required manager approval step first.

The **Disable dormant accounts** workflow finds accounts that have been inactive for a set number of days and disables them automatically, with a required approval step before any account is disabled.

## How this workflow is built

<Steps>
  <Step title="Trigger">
    Set a schedule for the workflow to run - for example, every day at 9:00 AM UTC.
  </Step>

  <Step title="Get Dormant Accounts">
    Define the filters that identify a dormant account, such as:

    * **Dormant Days** - the number of inactive days before an account qualifies, for example 90.
    * **Is Admin** - whether to limit the workflow to administrator accounts.
    * **Application Instance** - which connected application instances to include.
  </Step>

  <Step title="If approved, by">
    Approval is required before the workflow acts. Set the approver role (for example, **Manager**), an alternate approver to fall back to, and what happens if the request is denied - for example, no remediation.
  </Step>

  <Step title="Disable Accounts">
    Once conditions are met and approval is granted, the workflow disables the matching accounts.
  </Step>
</Steps>

## Build details

| Field       | Description                                                                                             |
| :---------- | :------------------------------------------------------------------------------------------------------ |
| Description | A short summary of what the workflow does, for example "Critical SaaS apps - disable dormant accounts." |
| Created by  | The user who created the workflow.                                                                      |
| Created on  | The date and time the workflow was created.                                                             |

Select **View all approval requests** from the build details panel to see every approval this workflow has generated.

## Reviewing runs

Select the **Runs** tab to see the workflow's execution history - when it ran, what it found, and what action it took.

## Contact us

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