<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
0D51Y00008cfQUISA2Okta Classic EngineUniversal DirectoryAnswered2020-06-08T18:02:53.000Z2020-05-28T17:17:36.000Z2020-06-04T17:42:10.000Z

JamesN.83470 (Customer) asked a question.

Expression Language Question: Referencing attributes of another object

​Hi there,

 

We are utilizing Okta Lifecycle management to bridge our HRIS (Workday) to various other downstream apps, including Active Directory.  Our users are all Workday-mastered at this point, however a large subset is not pushed to Active Directory, and their accounts live entirely in Okta UD.

 

For one of our apps (ServiceNow), the user's manager is required to be sent across in "Display Name" format, ie: Last, First.  This is how the user record is linked to the manager record.  This shouldn't be a problem, as we store in that format in Okta in the displayName attribute.  However, I can't seem to find any way to reference an individual user's MANAGER's display name.  For active directory users, the getManagerUser function works, ie: getManagerUser("active_directory").displayName, but these are solely Workday\Okta users, no AD record.

 

I would think some combination of the built-in Workday functions would work, but they have never worked in any capacity for me...even hasWorkdayUser() returns "False" for all my users.

 

Any ideas on how to overcome this?


  • For the Okta-Mastered users, do you store the user's manager's name in a Okta Profile attribute ?

    If not, where is this information stored for Okta-Mastered users ?

    Assuming you store this info in an Okta Profile Attribute called UserManager, you can use an if/else condition such that if there's no manager retrieved from AD, it falls back to the attribute value stored.

    getManagerUser("active_directory").displayName!=null:getManagerUser("active_directory").displayName?user.UserManager

    Expand Post
This question is closed.
Loading
Expression Language Question: Referencing attributes of another object