I’m using a transform to check for Management level from workday source and set the Identity attribute accordingly, but there are some users without management level. I have used firstvalid to cover the use case.
I’m not able to see the Identity attribute named “ManagementLevel” for the users who donot have the management levels, Instead I looking to have the attribute as empty string.
Thanks for sharing the JSON snippet. When MANAGEMENT_LEVEL_ID is null, your transformation is returning the empty static value. That is the reason you have the empty value.
If managementLevel is null, what attribute do you want to set? You have to replace
{
"attributes": {
"value": "<Replace empty value with the value your looking for>"
},
"type": "static"
}
By design, if an Identity Attribute value is empty or null, it will not show in the Identity details. This is to prevent unmapped attributes in the Identity Profile showing up.
You can try passing a " " (space) or another suitable default value in the transform instead.