<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
0D54z00009a2WfHCAUOkta Classic EngineAdministrationAnswered2024-04-17T10:03:30.000Z2023-09-05T05:12:07.000Z2023-09-06T14:36:55.000Z

7d9lo (7d9lo) asked a question.

How to use expression language to combine 2 values under a new attribute

I need to implement the following use case in our production environment., how to combine both names under an attribute(Step-1)?

The following are the tasks that I need to configure

Step 1: I need to create a new custom attribute called "Full Name" and combine first and last names under this new attribute.

Step 2: Map this newly created "fullName" in Org1 to "Displayname" in Org2 


  • MatthewH.10249 (State of Iowa)

    Go to the "Profile Editor" in the Admin Console and select the app you want to map the new attribute to or select "Okta -- User (default)" using the "Okta" filter if you want to make this a default user attribute. Once there you create the custom attribute for the app or default profile you then need to either open the mapping for the app or your input source like a directory integration. You will find the "mappings" link in "Profile Editor" as well by either using the "Apps" or "Directories" filter. Once on the mapping page make sure you select the tab you wish to modify. These tabs represent either "from Okta to App/Directory" or "from App/Directory to Okta". Now find your new attribute and add an expression similar to (user.firstName + " " + user.lastName) or whatever meets your needs.

    Expand Post
    Selected as Best
  • MatthewH.10249 (State of Iowa)

    Go to the "Profile Editor" in the Admin Console and select the app you want to map the new attribute to or select "Okta -- User (default)" using the "Okta" filter if you want to make this a default user attribute. Once there you create the custom attribute for the app or default profile you then need to either open the mapping for the app or your input source like a directory integration. You will find the "mappings" link in "Profile Editor" as well by either using the "Apps" or "Directories" filter. Once on the mapping page make sure you select the tab you wish to modify. These tabs represent either "from Okta to App/Directory" or "from App/Directory to Okta". Now find your new attribute and add an expression similar to (user.firstName + " " + user.lastName) or whatever meets your needs.

    Expand Post
    Selected as Best
This question is closed.
Loading
How to use expression language to combine 2 values under a new attribute