
JosephM.46079 (Customer) asked a question.
I apologize if this has been answered but I could use some assistance in a workflow. I need to set a specific value on a profile attribute to true for all new users moving forward with a specific domain name.
I have the flow working with the "list group members" and by setting adding people to this group but its not really optimized.
I see the "list users with search" function. Is it possible to filter the inputs to creation dates after today and to users like "@domainname.com" ?
I don't want to just blanket add all of the @domainname.com accounts to the group since there are a few service accounts we don't want to set this attribute for. I'm sure this is easier than I'm making it out to be so I greatly appreciate any responses.

@JosephM.46079 (Customer)
Looking at the "Users" api you can see the following top level attributes are supported:
https://developer.okta.com/docs/reference/api/users/#list-users-with-search
The date format leveraged by Okta is generally ISO 8601 (There are some instances where it is Epoch but not here).
What this means is you can build out a custom search to return users based on the built-in "created" attribute. So for example this will find all users created between the start of today UTC and when the flow ran:
Note: The "List Users with Search" is returning the first 200 results just for display purposes. You would likely want to set it to Streaming instead. See the following article for a demo on how to use streaming: https://support.okta.com/help/s/article/How-to-use-Streaming-Action-cards-in-Okta-Workflows?language=en_US