Create new access review for reassigning self certification for targeted certification using certifier rule

Which IIQ version are you inquiring about?

8.3), the more people can help. If you do not know, put Unsure.]

Please share any images or screenshots, if relevant.

[Please insert images here, otherwise delete this section]

Please share any other relevant files that may be required (for example, logs).

[Please insert files here, otherwise delete this section]

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

Facing issue for reassigning access review’s line item in case of self cert during Entitlement owner cert. The issue is whole workitem is assigned to the new owner , instead we require just line item getting assigned using certifier rule . Its is to be done during staging period .

Hi @k_diksha ,

If you are launching Entitlement owner cert, pre-delegation rules allow you to reassign specific line items.

Please refer this rule.

import java.util.Arrays;
import java.util.List;
import java.util.ArrayList;
import sailpoint.object.Identity;
import sailpoint.object.*;

List items = entity.getItems();
certifierName = certification.getCertifiers().get(0);
Identity EOCertifier = context.getObjectByName(Identity.class, certifierName);
List reassignItems = new ArrayList();
String entitlementName="";
Identity requester = certification.getCreator(context);
Identity EOManager = EOCertifier.getManager();
String description = "Pre-Delegation for Entitlement Owner Certification";

for (CertificationItem item : items)
{
    String user = item.getTargetName();
    if (user.equalsIgnoreCase(EOCertifier.getName()))
{
   reassignItems.add(item);
    }
}
if (reassignItems != null)
{
String comments = "This certification is re-assigned to you to prevent self certification as <b>" + EOCertifier.getName() + "</b> is a certifier of Entitlement(s) and also has access to the entitlement for the <b>" + entity.getApplication() + "</b> Application. <br>";

if (EOCertifier.getManager() != null)
{
  //If the Entitlement Owner has a manager assign it to the manager. The variable 'EOManager' is the EO's manager.
  certification.bulkReassign(requester, reassignItems, EOManager, description, comments, context.getConfiguration());
}
else
{
  //If the Entitlement Owner does not have a manager assign it to the certification requester, which is the variable 'requester'.
  certification.bulkReassign(requester, reassignItems, requester, description, comments, context.getConfiguration());
}
}

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