
JoshR.42786 (Customer) asked a question.
Hi All,
I'm curious if there is a way to take a user attribute and run logic like ≥ and add the user to a group. Currently I have an attribute startDate i.e `2022-07-01`. I would like to utilize the expression language to read the startDate and add only users that have a start date of `2022-07-01` or anything newer and add the user to a group. Is this possible?
Thanks!

Hi @JoshR.42786 (Customer),
Thank you for posting on the Okta community page!
I have managed to find that Okta Expression Language support conditional expressions including the standard operators <, >, <=, and >=. I have provided bellow a couple of documentations regarding group rules and Okta Expression Language that might help you achieve your use case:
I hope the above information is useful!
I'm curious to learn if that works. Looking in Profile Editor, Okta doesn't have a "Date" attribute type so if your startDate attribute is just a string, I'm not sure how well those < or > comparisons will work. Let us know, please!