Get details of a user who is not manager

Hi All,

Is there any way to the user details of an user who is not the manager of the user but some other user example(future manager) using the below rule

t{
  "attributes": {
    "name": "Cloud Services Deployment Utility",
    "operation": "getReferenceIdentityAttribute",
    "uid": "manager",
    "attributeName": "email"
  },
  "type": "rule",
  "name": "Get Reference Identity Attribute Transform"
}ype or paste code here
3 Likes

Hi @schattopadhy,

If you can pass the uid of the required user in the transform, you should be able to get the required values. See an example below :

{
    "name": "Future approver email",
    "type": "rule",
    "attributes": {
        "attributeName": "email",
        "name": "Cloud Services Deployment Utility",
        "operation": "getReferenceIdentityAttribute",
        "uid": {
            "attributes": {
                "attributeName": "futureManager",
                "sourceName": "Employees_Test"
            },
            "type": "accountAttribute"
        }
    },
    "internal": false
}
1 Like

@jesvin90 i have tried but it did not give me the right output

Hi @schattopadhy,

Are you getting the Sailpoint username as the transform output under the uid field.?

Try hardcoding the value and it should work. Then build your transform to get the uid value that worked.

{
    "name": "Future approver",
    "type": "rule",
    "attributes": {
        "attributeName": "email",
        "name": "Cloud Services Deployment Utility",
        "operation": "getReferenceIdentityAttribute",
        "uid": "1c2a3b4e"
    },
    "internal": false
}

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.