6.2 The Purpose of Common Certification Rules

Key Takeaways

  • Exclusion (CertificationExclusion), Pre-delegation (CertificationPreDelegation), Who Do You Want to Certify (CertificationScheduleEntitySelector), and Certifier rules run while the certification is generated.

  • CertificationPhaseChange rules run when the Active, Challenge, Revocation, or End period begins.

  • WorkItemEscalationRule rules transfer an overdue access review or revocation to someone else.

  • A CertificationSignOffApprover rule runs at sign-off and returns the next approver (identity or identityName) to create multi-level sign-off.

  • A CertificationAutomaticClosing rule runs when automatic closing starts, after the other phases end.

Last updated: September 2026

The Purpose of Common Certification Rules

Objective 3.2 asks you to understand the purpose of common certification rules. The exam usually gives a requirement and asks which rule type satisfies it, or where in the certification timeline it runs. The documentation lists the certification rules in the order they run.

The Rules in Execution Order

UI fieldRule typeWhen it runsPurpose
Exclusion RuleCertificationExclusionDuring generationRemoves items from the certification
Pre-delegation RuleCertificationPreDelegationDuring generationDelegates, or in non-targeted certifications reassigns, reviews before reviewers see them
Who Do You Want to Certify (Targeted only)CertificationScheduleEntitySelectorDuring generationSelects the identities to certify
Group Factory: CertifierCertifierDuring Advanced (group factory) generationAssigns the certifier for each group's review
Active Period Enter RuleCertificationPhaseChangeStart of ActiveOpen-ended custom logic
Certification Escalation RuleWorkItemEscalationRuleAt the escalation trigger if the review is unsignedTransfers the review, often to the certifier's manager or the certification owner
Challenge Period Enter RuleCertificationPhaseChangeStart of Challenge, or once per revocation when revokes are processed immediatelyOpen-ended
Closing RuleCertificationAutomaticClosingWhen automatic closing beginsOpen-ended, often custom decisions on undecided items
Sign-off Approver RuleCertificationSignOffApproverWhen a reviewer signs offSends the review to the next-level approver
Revocation Period Enter RuleCertificationPhaseChangeStart of RevocationOpen-ended
Revocation Escalation RuleWorkItemEscalationRuleAt the revocation escalation triggerTransfers the revocation work item, often to the revoker's manager or the application owner
End Period Enter RuleCertificationPhaseChangeStart of EndOpen-ended

Other rule types appear on certification pages. Certifier rules pick the primary certifier in targeted certifications. EmailRecipient rules add reminder and escalation recipients. SailPoint ships starting-point examples in examplerules.xml.

Exclusion Rule

Use it to keep noise out of reviews, such as a birthright entitlement every employee has, or to skip whole identities, such as inactive users or executives. The rule receives the entity being certified (for identity-based certifications, an Identity), the list of items that would be certified, and an empty itemsToExclude list. It moves items from one list to the other and returns an optional explanation string that appears on the exclusions list.

import sailpoint.object.Identity;
String explanation = "";
Identity person = (Identity) entity;
if (person.isInactive()) {
    itemsToExclude.addAll(items);
    items.clear();
    explanation = "Not certifying inactive identities";
}
return explanation;

Select Save Exclusions on the certification to keep the excluded items for reporting.

Pre-Delegation Rule

A pre-delegation rule runs during generation and can send part or all of a review to someone else before the reviewer sees it. For example, every privileged account could go to the security team. In targeted certifications, the documentation notes that pre-delegation rules still support delegation and forwarding, but reassignment components are ignored. Use a Certifier rule in the Primary Certifier field to control reassignments instead. Pre-delegation and pre-reassignment rules are not meant to run together with the Fallback Forwarding User rule.

Sign-Off Approver Rule: Multi-Level Sign-Off

When a reviewer signs off, this rule decides whether someone else must approve the decisions. It receives the certification and the certifier who signed. It returns a Map with either identity or identityName for the next approver, or nothing to end the chain. The process repeats until the rule returns no approver:

import java.util.HashMap;
import java.util.Map;
Map result = new HashMap();
if (certifier.getManager() != null) {
    result.put("identity", certifier.getManager());
}
return result;

With a challenge period, the sign-off approver can override only approval decisions. Revocations the access holder has already seen in a challenge work item cannot be changed in the approver's view.

Phase-Change, Escalation, and Closing Rules

  • CertificationPhaseChange rules are hooks for custom actions at the start of a phase, such as opening a ticket when the revocation period starts or emailing a summary when the End period starts.
  • WorkItemEscalationRule rules run when an escalation is due and transfer ownership, not just send email.
  • A CertificationAutomaticClosing rule runs at the start of automatic closing, after the Active phase (or Challenge phase, if enabled) and the configured delay. It can apply more complex logic than the simple "revoke/approve/exception" action on undecided items.

Building and Testing Certification Rules Safely

  • Start from the samples. Import the examples in examplerules.xml and copy the one closest to your need, so the rule type and input variables are right.
  • Keep generation rules fast. Exclusion, pre-delegation, entity-selector, and certifier rules run for every entity during generation. A slow database lookup inside them can make a large certification take hours. Load reference data once, for example from a Custom object, instead of querying repeatedly.
  • Test on a staged certification. Enable staging (section 6.1) so the rule's effect (excluded items, delegations, certifier assignments) can be inspected before any reviewer is notified.
  • Log what the rule decides. Use log.debug with a dedicated logger (section 14.1) and return a meaningful exclusion explanation so auditors can see why items were left out.

Choosing the Right Rule

RequirementRule type
"Never show the All-Employees AD group in reviews"CertificationExclusion
"Send all privileged-account items to the security team"CertificationPreDelegation (or a Certifier rule in targeted certifications)
"Certify only people hired in the last 90 days"CertificationScheduleEntitySelector (targeted), or a population
"After a manager signs, their director must approve"CertificationSignOffApprover
"If a reviewer ignores the review for 10 days, give it to their manager"WorkItemEscalationRule
"Open a ServiceNow ticket when revocations start"CertificationPhaseChange (Revocation Period Enter)
Test Your Knowledge

Managers complain that every access review includes the Domain Users group that all employees receive. Which rule type removes it from reviews?

A

CertificationExclusion

B

CertificationSignOffApprover

C

CertificationPhaseChange

D

WorkItemEscalationRule

Test Your Knowledge

After a manager signs off an access review, the manager's own manager must also review the decisions. Which rule type and return value provide this?

A

CertificationPreDelegation returning a delegation map during generation

B

CertificationAutomaticClosing returning the manager's name

C

CertificationSignOffApprover returning a Map with the next approver as identity or identityName

D

Certifier returning null

Test Your Knowledge

A targeted certification uses a pre-delegation rule that tries to reassign reviews to regional leads, but the reassignments never happen. Why?

A

Pre-delegation rules run only after sign-off.

B

In targeted certifications, pre-delegation rules support delegation and forwarding but ignore reassignment; a Certifier rule should control reassignment.

C

Pre-delegation rules can only be used in Role Composition certifications.

D

The rule must be of type CertificationPhaseChange to reassign.

Test Your Knowledge

When does a Revocation Period Enter rule run?

A

When the certification is first generated

B

Each time a reviewer clicks Revoke

C

At the start of the revocation period, which follows the Active period, or the Challenge period if one is enabled

D

Only when automatic closing is enabled

Sections you finish are checked off in the contents.