Manager Correlation from Non - Authoritative Sources

We do not have the manager details coming from the Authoritative Source, We have two Non Authoritative Sources and we need to do manager correlation based on the user persona value. If the user persona is staff, then we need to use the supervisor_id from the Employee source and if the persona is faculty, then we need to use the supervisor_id from the Faculty source. I am already mapping the Identity Attribute “uid” with the Source attribute “Supervisor_ID” in both the sources and I am using the below transform to populate the manager attribute,

{
        "name": "setManagerName",
        "type": "firstValid",
        "attributes": {
            "values": [
                {
                    "type": "static",
                    "attributes": {
                        "value": "#if($Persona == 'staff')$EmployeeRecord#elseif($Persona == 'faculty')$FacultyRecord#{else}MANAGER_NOT_FOUND#end",
                        "Persona": {
                            "type": "lower",
                            "attributes": {
                                "input": {
                                    "type": "accountAttribute",
                                    "attributes": {
                                        "sourceName": "Primary Source",
                                        "attributeName": "PERSONA"
                                    }
                                }
                            }
                        },
                        "EmployeeRecord": {
                            "type": "accountAttribute",
                            "attributes": {
                                "sourceName": "Employee Source",
                                "attributeName": "SUPERVISOR_ID"
                            }
                        },
                        "FacultyRecord": {
                            "type": "accountAttribute",
                            "attributes": {
                                "sourceName": "Faculty Source",
                                "attributeName": "SUPERVISOR_ID"
                            }
                        }
                    }
                }
            ]
        },
        "internal": false
    }

I could see the Attribute Value is being populated in the preview, But the Identity Value is not getting populated.
Kindly let me know where am I going wrong.

Hi @Keethanmadalab

Welcome to SailPoint developer community.

Manager value should be an object not some string value. So you need to do manager correlation. What is the manager correlation config you have ?

Thanks
Krish

Hi @Keethanmadalab ,

You should use the manager correlation configuration for the source which contains the account data to match.

Please follow this link:

Also, have a good time by reading the below post too:

Thanks!

@MVKR7T Thankyou for your respoonse, I have configured the manager correlation for both non auth sources, I am using the logic -
“UID (Sailpoint Username)” Equals “Supervisor_ID”

UID - Unique Identity Number
Supervisor_ID - UID of Manager

@GOKUL_ANANTH_M Thankyou for your response.

The manager details of the user will present in the one of the Non Authoritative source based on the user persona. If user is Staff, Then user manager details will present in Employee Source and if user is faculty, Then manager details will present in Faculty Source. If user is Full Time Staff and Part Time Faculty, Then user will have manager records in both sources (May have two different manager as well in this scenario). So I need to select the manager based on the user status.

Hi @Keethanmadalab ,

I guess, we need the help of manager correlation rule here.

Thanks!

@Keethanmadalab In theory(never tried this use case) you should be able to accomplish that by using a Manager correlation rule.

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