This article explains the invalid search criteria error when using Workflows List Users with Filter Card.
- Workflows
- Workflows to List Users with Filter Card
The list user with a filter API call supports the following limited number of properties:
statuslastUpdatedidprofile.login,profile.emailprofile.firstNameprofile.lastName
Also, it supports only the equal eq operator from the standard Okta API filtering semantics, except in the case of the lastUpdated property. This property can also use the inequality operators (gt, ge, lt, and le). Furthermore, it supports only the logical operators and and or. The not operator is not supported. It is case-sensitive for attribute names and query values, while attribute operators are case-insensitive.
Use instead the List users with search card. It will search for users based on the properties specified in the search parameter.
- Searches many properties:
- Accepts
sortByandsortOrderparameters.sortBycan be any single property, for examplesortBy=profile.lastName.sortOrderis optional and defaults to ascending.sortOrderis ignored ifsortByis not present.- Users with the same value for the
sortByproperty will be ordered byid.
