<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
0D50Z00008G7VVuSANOkta Classic EngineAdministrationAnswered2024-04-30T09:18:24.000Z2016-11-02T18:14:39.000Z2017-11-16T21:10:30.000Z
group membership based upon attribute value
I understand how to add users to a group based upon a string value. However is it possible to add users to a group based upon being between two numeric values? I was hoping to use the following expression but it doesnt seem to be allowed in the expression builder.

 

Convert.toInt(user.employeeID) > 1000 AND Convert.toInt(user.employeeID) < 5000

  • Hi Paul

    It should work per the doc, but I get an error. Perhaps open a ticket with Okta Support.

     

    Can you use one of these? (it might even do some type conversion for you...) 
    1.  user.employeeID > 1000 AND user.employeeID < 5000
     
    1.  user.employeeID > "1000" AND user.employeeID < "5000"
     

    Expand Post
This question is closed.
Loading
group membership based upon attribute value