Within Slack Profile, Admins may be unable to pull the firstName attribute, if nickName is null from the Namely Sourced User Profile > Slack firstName when using the below expression:
user.nickName != null ? user.nickName : user.firstName
It will correctly show a user's nickname if it exists, but it won’t show their first name if the nickname does not exist.
- Namely Sourced Users
- Okta Expression Language (OEL)
-
The NULL factor is not recognized by Namely within the Okta Expression Language.
-
Namely does not recognize the appuser.firstName attribute. It must be set to appuser.givenName . If this is not set, the firstName will come out blank/null.
Create the information for the knowledge base article. Add and update headings as required. Remove headings that are not required. When providing steps, include them in a numbered format.
- Go to Directory > Profile Editor > Search and select Slack User Profile.
-
Select from Okta User Profile > Slack User Profile (appuser.firstName attribute).
-
Enter this expression:
user.nickName!=""?user.nickName:user.firstName
Example Screenshot:
App Data Refresh Instructions: (This may not be required, but please follow these below steps if the values do not update).
-
Confirm that Create Users and Update Users are selected in the Application's Provisioning Tab.
-
Click Applications > Applications.
-
Click the More Dropdown Menu (Next to Assign Applications).
-
Click Refresh App Data.
