Background
This article shows you how to test an inactivity workflow before you roll it out. For an overview of inactivity workflows, see Inactivity Workflows 101.Steps
To test your inactivity workflow safely, try it on accounts with very long inactivity times. For example, a user who hasn’t logged in to a service for 365+ days likely won’t complain if their access is removed. Accounts like these are generally safe to use for testing. Below are the steps for testing your workflow on these types of accounts.1. Go to the Accounts tab for the app you want to test.

2. Filter the Account Status column to “Active”, then click on the Last Login column header to sort by last login and find accounts with the longest inactivity window.

3. Find the inactivity threshold you want to use for testing.
As an example, if you see only 2 accounts with inactivity greater than 180 days and you want to use those for testing, then your threshold will be 180 days. Lumos uses the more recent of an account’s Last Login and Last Activity, and also considers when its most recent entitlement was added. By default, accounts with no login or activity data are skipped. Check Include accounts without activity data under Inactivity Time to include them. So the accounts in your test may differ from what the Last Login sort shows.4. Adjust the following settings for your inactivity workflow.
Open the app’s Inactivity Workflows tab and open your workflow. If you haven’t created one yet, see Creating An Inactivity Workflow.- Excluded Users: Add any application or service accounts that may never log in to the service, so they aren’t accidentally removed or deactivated. Consider adding executives as well.
- Notification Flow: Set this to “Workflow Reviewer”.
- Workflow Reviewer: Set this to yourself, or any other teammates who want to test the alerts.
- Inactivity Time: Set it to the value you determined above in step 3.
- Default Behavior: Set this to End Workflow, so a notification nobody answers doesn’t start the removal steps.
- Removal steps: Remove any removal steps you don’t want to run during the test. If a reviewer approves removal, the removal steps run and real access is removed.