
KaeleyS.95699 (Customer) asked a question.
I'm trying to create a group rule using an attribute that's on my user's Okta Profile, but for some reason when I go to add a rule it doesn't show that attribute as an option (I'm using the basic condition and then selecting "User Attribute" then trying to select the attribute on the Okta profile). Yet other custom attributes that I've added (at the same time) won't allow me to. Any tips?

Thanks for your question!
You can find documentation on group rules here: About Group Rules and here Group Rules Best Practices and here Creating a Group Rule
With that being said, it would appear that the "basic condition" only supports "strings" so if the custom attribute in question is say a Boolean or a number, then it would not be available under that drop-down.
You can use the Okta Expression language for use cases outside of strings, and frankly, is much more customizable and can handle multiple conditions (much preferred). You can find details under Creating a Group Rule.
Thanks!!
Just putting my two cents in here as well.
I'm assuming that when you say "attribute that's on my user's Okta Profile" you are referring to the following:
I've checked on my side and the custom attributes that I have set up seem to show up just fine.
Perhaps check the browser developer tools for any errors when trying to pull up the list of attributes or maybe check with another browser.
Like Don mentioned, you might want try custom expressions as well. Example of syntax below:
Beyond that, the only thing that comes to mind might be that you are using the Custom User Type feature and are trying to pull an attribute from a profile other than the default, which is not supported. Please see details on the feature limitations here:
https://help.okta.com/en-us/Content/Topics/users-groups-profiles/usgp-user-types-known%20issues.htm
Hope my answer helps!
--------------------------------
Community members help others by clicking Like or Select as Best on responses. Try it today.