Skip to main content

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.

App page with an arrow pointing to the Accounts tab

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.

Accounts tab with an arrow pointing to the Last Login column header

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.
See Creating An Inactivity Workflow

5. Save and trigger the workflow.

Click … next to Save Changes, then choose Save & Trigger. This immediately sends the workflow to every account in scope, so check the settings in step 4 before you click it. If the workflow doesn’t notify anyone, the removal steps run as soon as you trigger it.

6. Check the results.

You, as the Workflow Reviewer, get a notification for each account in scope, following your notification settings. Answer each one. Keeping access resets that account’s inactivity timer, and approving removal runs your removal steps. If no notifications arrive, check that at least one account is older than your threshold and isn’t in Excluded Users. Accounts with no Last Login or Last Activity value are skipped unless Include accounts without activity data is checked. If it still doesn’t fire, contact support@lumos.com.

Next steps

When the test looks right, restore your real Excluded Users, Notification Flow, Workflow Reviewer, Inactivity Time, Default Behavior, and removal steps, then save the workflow. Creating An Inactivity Workflow covers each setting.