<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
0D51Y000088QSwMSAWOkta Classic EngineUniversal DirectoryAnswered2024-04-17T13:29:47.000Z2020-03-26T06:55:48.000Z2020-11-19T19:38:14.000Z

2kwyh (2kwyh) asked a question.

Contains any value/wildcard match for Regular Expression

Hello,

 

We are trying to implement a group rule for User Profile Attribute assignment, where if any value is added to the key:value, that it will assign an application. However, when looking through the Developer Documentation: https://developer.okta.com/docs/reference/okta-expression-language/

 

I do not see a way to do a contains wildcard, just contains a specific string of text (and "*" does not work).

 

Is there a way to match a wildcard value in the Group Assignment Regular Expression for this group rule?


  • BhaskarM.18336 (Customer)

    Try by,

     

    If 

     

    String.len(user.<<attributename>>) != 0

     

    Then

     

    assign to <<group name>>

     

    Expand Post
    Selected as Best
  • BhaskarM.18336 (Customer)

    Try by,

     

    If 

     

    String.len(user.<<attributename>>) != 0

     

    Then

     

    assign to <<group name>>

     

    Expand Post
    Selected as Best
This question is closed.
Loading
Contains any value/wildcard match for Regular Expression