In short, we would like to uncorrelate the accounts after termination. So I have created a simple correlation rule as below, but it doesn’t uncorrelate the existing correlated accounts, I made sure “Disable optimization of unchanged accounts” is checked in the aggregation task.
Any idea, what am I missing here? Thanks!
Map map = new HashMap();
if (account.getAttribute(“employeeNumber”) != null)
{
identity = context.getObjectByName(Identity.class, account.getAttribute(“employeeNumber”));
if(null != identity && !“Terminated”.equalsIgnoreCase(identity.getAttribute(“status”)))
{
map.put(“identity”, identity);
}
}
return map;