Share all details related to your problem, including any error messages you may have received.
I have an Identity Attribute being removed once the application link is deleted. I’m wondering how I can have that value be retained in the Identity Attributes and not be removed.
I thought a rule in the Identity Mappings would resolve this, but it appears to be removing the attribute from the Identity without going into that rule for any of my logic to function.
My scenario is for an Active Directory application and I’m trying to retain the email attribute in the Identity attributes.
What is your current configuration in Identity Mappings of email attribute source, is it a application rule , if so can you please share the mapping from ObjectConfig Identity.xml
you can use GlobalRule in Source Mapping of that attribute in ObjectConfig of Identity. So in this case, 2 attribute Source, 1 - Data from WD or AD as example 2- global Rule that will return previous value if source is null or link deleted.
Rule Logic should be like below
return identity.getAttribute(attributeDefinition.getName()); this will maintain the old value
<AttributeSource name="AppRule: MyOrg - IdentityAttribute - email Active Directory">
<ApplicationRef>
<Reference class="sailpoint.object.Application" id="0ab18c8a82ae14438182ae751e0e033e" name="Active Directory"/>
</ApplicationRef>
<RuleRef>
<Reference class="sailpoint.object.Rule" id="0ab18c8a86d4181081871464a38c19bc" name="MyOrg - IdentityAttribute - email"/>
</RuleRef>
</AttributeSource>
// Here you can add one more AttributeSource for Global Rule to maintain old value.