<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Exclude Users from Automations
Okta Classic Engine
Okta Identity Engine
Administration
Overview

This article explains how to exclude certain users from the automations enabled in the organization.

Applies To
  • Group Rules
  • Automations
Solution

To exclude users from automations, follow and implement the steps below:

  1. Modify the profile attribute on the service accounts for the Department to be something like Service.
  2. Create a group called All users except Service Accounts.
  3. Create a Group Rule using EL expression language to assign all users without that attribute to the group created in step 2: 
    1. Navigate to Directory and click on Groups.

    2. Select Rules and click the Add rule button.
    3. Create the rule while making sure that the expression language is checked and that the correct expression is used: user.department != "Service".

Edit Rule

 

  1. Save and Activate group rule.
  2. Edit Automation so it only applies to All users except service accounts group:
    1. On the Okta Admin Console, navigate to the Workflows tab.
    2. From the drop-down menu, select Automations.
    3. Edit or create a new Automation using the Pencil Icon/ Add Automation button. 
    4. Update the Group Membership condition to reflect the group created in step 2: All users except Service Accounts.
    5.  Save the changes and activate the automation

Automations

 

Loading
How to Exclude Users from Automations