<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00008bh2MuCAIOkta Classic EngineAdministrationAnswered2022-12-29T16:36:43.000Z2022-12-27T21:47:31.000Z2022-12-29T16:36:43.000Z

KaeleyS.95699 (Customer) asked a question.

Profile Attribute does not show under "basic condition" user attribute options

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?


  • DonF.81354 (Customer)

    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!!

     

    Expand Post
  • 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: 

    Pasted 

    I've checked on my side and the custom attributes that I have set up seem to show up just fine. 

     

    Pasted 

    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: 

    Add 

     

     

    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.

    Expand Post
This question is closed.
Loading
Profile Attribute does not show under "basic condition" user attribute options