Rejoiner correlation rule

Which IIQ version are you inquiring about?

8.4

Share all details about your problem, including any error messages you may have received.

I have a use case where the user has left the organization and joined back under a different identity name with the same email as the inactive identity where this email is used to correlate the account. I noticed the behavior where the account is correlated to the identity that is inactive but not the new identity. Is there any way that we can only specify to correlate to the identity that is active only?

@infamous

Write a correlation rule as below, this should work for you


        import sailpoint.object.Identity;
 
        import sailpoint.object.Filter;
        import sailpoint.object.QueryOptions;
      
		import java.util.Iterator;

      
        Map returnArgs = new HashMap();
        if(account!=null) {    
            String targetEmail = (String)account.getAttribute("TARGET_EMAIL_ATTRIBUTENAME");
            
			QueryOptions qo=new QueryOptions();
			qo.addFilter(Filter.eq("email",targetEmail));
			qo.addFilter(Filter.eq("inactive",false));
			

			Iterator iter=context.search(Identity.class, qo);
			if(iter.hasNext()){
			Identity iden=(Identity)iter.next();
			returnArgs.put("identity", iden);
			}
		     
        }
        return returnArgs;

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.