Okta Workflows How-To: Search for Groups Using Custom Search Criteria in Okta Workflows

Okta Workflows is a no-code platform for automating identity processes. 

This blog post is based on a question asked during office hours or the #okta-workflows channel in MacAdmins Slack: How to search for groups using custom search criteria? 

Getting started

The Okta – Search Groups card allows to search for groups in your organization using custom search criteria.

In this example, the card will return all groups that start with No-code.

workflows_howto_search_groups_custom.png (500×1232)Search groups

The Custom Search Criteria field has:

  • profile.name – path to the group name
  • sw – starts with

Note: You need to show the Custom Search Criteria field when adding the card, or click ⚙️> Choose fields after the card has been added.

Testing the card returns two groups that start with No-code:

workflows_howto_search_groups_custom_test.png (1462×1252)Search result

In addition to sw (starts with) operator, you can use other operators:

workflows_howto_search_groups_operators-1.png (1596×1148)Search operators

Ok, one more thing. Need to create a custom list filter? Check our the guide below.

Learn How to Create a Custom List Filter in Okta Workflows

Get your Workflows questions answered

Do you have a question about Okta Workflows? Not sure how to build a flow? Join the weekly community office hours to get help.