<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 Return All Users when Using the List Users With Search Card in Workflows
Workflows
Okta Classic Engine
Okta Identity Engine
Overview
When using the List Users With Search card with the Stream Matching Records option and no inputs, all users except those with a status of DEPROVISIONED (deactivated users) will be returned.
Applies To
  • Workflows
  • List Users With Search card
  • Deactivated users
Cause

It is expected behavior that the List Users With Search card does not return DEPROVISIONED users when no inputs are specified.

Solution

When using the Status input to search for users with the List Users With Search card, only one status value can be specified.  To search for all users using a single List Users With Search card, use the Custom Search Criteria input with search criteria that includes all statuses:
 

  1. Click the cogwheel icon on the List Users with Search card, select Choose fields, check the Custom Search Criteria input and click Save:
Choose Fields
  1. Add the following search criteria to a Compose card prior to the List Users With Search card.  Make sure there are no carriage returns before or after the text when pasting it into the Compose card:

status eq "ACTIVE" or status eq "SUSPENDED" or status eq "DEPROVISIONED" or status eq "STAGED" or status eq "PROVISIONED" or status eq "RECOVERY" or status eq "LOCKED_OUT" or status eq "PASSWORD_EXPIRED"

 

  1. Map the output of the Compose card into the Custom Search Criteria input on the List Users With Search card:
ListUsersWithSearch

Related References

Loading
How to Return All Users when Using the List Users With Search Card in Workflows