I have a ws autoritative source, with a simple manager correlation (employeeNumber=managerId).
There are some business cases when some users that has a manager, become independent (this is modeled in HR as managerId=0, although in ISC there is no identity with employeeNumber=0).
If managerId goes 0 on HR, on ISC side, manager keep unchanged (old manager is kept). Is this the expectrd behavior? In order to reflect “manager loss” on HR, does I have to develop a manager correlarion rule?
Yes, this is expected behaviour. As per the documentation, identity will remain correlated to existing manager. For your scenario, managerID changes to 0 where sailpoint is not able to find any identity with employeeNumber with 0.
Instead of 0, can it be made to null, in this case it will work. If not, this needs to be handled via correlation rule where you need to return empty map when condition is “0”.equals(managerAttributeValue)