
muwa8 (muwa8) asked a question.
I'm wondering if anyone has had any success with this, I'd like to create a group rule that adds all new users to a group, but doesn't touch older users.
Something a la:
users.created>="2019-08-23"
or
users.created>=Time.("2019-08-23T00:00:00.0Z")

Hi Sam,
Thanks for posting on our Community portal.
I will start at show-casing what group rules might help you to achieve as per: https://developer.okta.com/docs/reference/okta-expression-language/ and https://help.okta.com/en/prod/Content/Topics/Directory/group-rules.htm.
Based on my preliminary tests, I have failed to confirm that this would be achievable, looking at the attribute defined on the user`s profile, the rule fails on the account that the user doesn't match the rule.
I would recommend taking advantage of one of the HR Driven Application which will create a start date attribute and use that for automation.
Hope this helps, otherwise, feel free to post an Idea on our help page.
Thank you,
Dragos
Okta Global Customer Care Team