Transforms to pull manager name, manager email & vpdepthead based on managerID & level

3 transforms:

  1. if the managerID is only having 4 digit
    first to append 000000 as prefix - it should be a 6 digit number & we are getting 5 or 4 digits manager id
    for example : HR is sending 4 digit manager id- 4321 and sailpoint looks for 004321
    need conversion then pulling up the right name.

solution is leftpad will work

  1. pulling up manager email
{
  "attributes": {
    "name": "Cloud Services Deployment Utility",
    "operation": "getReferenceIdentityAttribute",
    "uid": "manager",
    "attributeName": "email"
  },
  "type": "rule",
  "name": "Get manager name from email"
}
  1. based on if the identity manager level is 13 or 14 then it should lookup all the way up and bring the level 13/14 manager name/email (vpdepthead). need to add level logic
{
        "name": "vpdepthead  transform",
        "type": "firstValid",
        "attributes": {
            "ignoreErrors": "true",
            "values": [
                {
                    "type": "static",
                    "attributes": {
                        "igoreErrors": "true",
                        "vpdepthead": "$identity.getManager().getStringAttribute('email')",
                        "value": "$vpdepthead"
                    }
                },
                ""
            ]
        },
        "internal": false
    }

we tried this transform but it is not pulling up any details
any inputs would help

thanks
osman

Have you tried the Transform Helper AI-bot ?

The AI tools are only accessible to Ambassadors.

oh in that case what help i could reach out to ?

first converting 3 digit manager id to 6 digit by applying leftpad
and then tried to pull manager displayName

{
“attributes”: {
“values”: {
“attributes”: {
“attributes”: {
“padding”: “0”,
“length”: “6”,
“input”: {
“attributes”: {
“sourceName”: “SuccessFactors”,
“attributeName”: “ManagerID”
},
“type”: “accountAttribute”
}
},
“type”: “leftPad”,
“sourceName”: “SuccessFactors”,
“attributeName”: “displayName”
},
“type”: “accountAttribute”
}
},
“type”: “firstValid”,
“name”: “Manager name Transform test”
}

this dint worked

@jesvin90

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