CertificationService API TaskReassign() Not Working

(Doc ID 2132854.1)

Last updated on JULY 10, 2017

Applies to:

Identity Manager - Version 11.1.2.0.0 and later
Information in this document applies to any platform.

Symptoms

Using API to re-assign a certification task to a different user but it's just updating the db-table CERT_TASK_INFO with the new reviewerID.
When the old reviewer logs-in he still sees the certification, and nothing is displayed in the new-reviewer

 EXPECTED BEHAVIOR
 -----------------------
Certification task is supposed to get assigned to the different user

Steps to reproduce:
-------------------------
Steps to reproduce:
1. Select an entitlement and set a certifier user for the entitlement
2. Create a certification for Entitlement and select the entitlement and set the reveiwer as entitlement certifier
3. Run the certification job.
4. Check that the certification task is assigned to the certifier as set for the entitlement
5. Query the table select * from CERT_TASK_INFO where task_status = 1 and reviewer_id =
6. Call the taskReassign() API with the certificationId, taskUID and new-reviewer as different user.


Changes

One is using following API to re-assign a certification task to a different user using the following API:
http://docs.oracle.com/cd/E37115_01/apirefs.1112/e28159/oracle/iam/certification/api/CertificationService.html#taskReassign_java_lang_Long__java_lang_String__java_lang_String_

void taskReassign(java.lang.Long certificationId,
java.lang.String taskUid,
java.lang.String reviewer)
throws CertificationServiceException

It's just updating the db-table CERT_TASK_INFO with the new reviewerID.
When the old reviewer logs-in he still sees the certification, and nothing is displayed in the new-reviewer

Sample Code:
OIMClient oimClient = loginWithCustomEnv("xelsysadm", "Welcome1", EXALOGIC_QA_MANAGED_SERVER_NAMING_URL);
CertificationService certService = oimClient.getService(CertificationService.class);
try {
certService.taskReassign(3100L, "9c50f79b-ef8d-4d69-b62c-df8e704cb709", "MUCHSR-QA");
} catch (Throwable e) {
e.printStackTrace();
}

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms