This article describes how to map manager email address from Workday to Okta.
- Profile Editor
- Workday
- Okta Expression Language
- Okta Classic Engine
By default, Workday provides the manager username and the manager ID fields to retrieve manager information to Okta
As long as the email domain is the same, the manager username can be leveraged into an expression, depending on the format of the manager user attribute, as follows:
- If the manager username is using the firstName lastName format (John Doe), the following expression can be leveraged:
String.toLowerCase(String.substring(appuser.managerUserName, 0, 1) + String.substringAfter(appuser.managerUserName, " ") + "@domain.com")
(Example using the initial of the first name and last name and adding the required domain, all lowercase)
- If the manager username is using the initial of the firstName lastName format (JDoe), the following expression can be leveraged:
String.toLowerCase(appuser.managerUserName) + "@domain.com"
