Hi All,
I have written a transform for identity profile that checks if the mail attribute in the active directory account is null if yes then it applies a static value else it takes the mail attribute from the active directory account and update it to the identity profile but it is showing error.
My question is if i use this transform and a user does not have an active directory account yet will it still work?
Because that’s what i am currently doing
Below is the transform:
{
"attributes": {
"expression": "$mail eq null",
"positiveCondition": "$dummyEmail",
"negativeCondition": "$adEmailUpdate",
"mail": {
"attributes": {
"sourceName": "Deepanshu Active Directory",
"attributeName": "mail"
},
"type": "accountAttribute"
},
"dummyEmail": {
"attributes": {
"value": "[email protected]"
},
"type": "static"
},
"adEmailUpdate": {
"attributes": {
"attributeName": "mail",
"sourceName": "Deepanshu Active Directory",
"accountSortAttribute": "created",
"accountSortDescending": true,
"accountReturnFirstLink": true
},
"type": "accountAttribute",
"name": "Account Attribute Transform"
}
},
"type": "conditional",
"name": "Deepanshu Conditional Transform"
}