
QaseemZ.30214 (Customer) asked a question.
I am trying create a workflow that checks all active users for password expiry and notify them via email. We have a specific group that we want to exclude while running this workflow. I was able to create the flow but can't figure out how to exclude users in a specific group. I was wondering if this is possible.

Hi Qaseem,
You could check for each user if that user is a member of that specific group using API call to OKTA but it is no viable for large groups and you take the risk to overload your workflows 🙂
Best option in my opinion is to use an intermediate OKTA table in which you store those users and check against that table if users are member of your group.
Hi StUphane,
I am not much familiar with OKTA API. Can you give provide me an example that would achieve this?
Thanks,
Qaseem