Hi,
We have attribute sync enabled on account attribute : SUPERVSIOR_ID.
Now the problem is when the Manager is null in SailPoint, it updates null in the target. Instead of setting null, we need to have the old value itself.
we have written the below transform for this. But the problem is when the account correlation happens it immediately triggers the attribute sync and sets as Null. I think this could be because the attribute sync happens before the Identity attribute refresh during correlation.
Is there a better option to fix this so that identity attribute gets populated instead of making it as null.
"name": "Oracle EBS Supervisor Person ID",
"type": "firstValid",
"attributes": {
"values": [
{
"attributes": {
"name": "Cloud Services Deployment Utility",
"operation": "getReferenceIdentityAttribute",
"uid": "manager",
"attributeName": "ebsPersonId"
},
"type": "rule"
},
{
"type": "static",
"attributes": {
"value": "$identity.getLinksByAppIdOrName(null,\"Oracle EBS Employee Source - New [source]\")[0].getAttribute('SUPERVISOR_ID')"
}
}
]
},
"internal": false
}```