Identity And Access Management - Rajiv Dewan

Get Catalog Details Associated With Request (Request ID)

Sample Code To Get Catalog Details For A Particular Request ID:

List requestBeneficiaryEntityList = beneficiary.getTargetEntities();
for(RequestBeneficiaryEntity requestBeneficiaryEntity : requestBeneficiaryEntityList){
String entityKey = requestBeneficiaryEntity.getEntityKey();
OIMType entityType = requestBeneficiaryEntity.getRequestEntityType();

Catalog catalog = catalogService.getCatalogItemDetails(null, entityKey, entityType, null);
System.out.println("Approver Role :: " + catalog.getApproverRole());                   
System.out.println("Tags :: " + catalog.getTags());


Upgrade from OIM 11g R1 to OIM 11g R2

It will be useful while creating Approval Workflow in OIM 11g R2 iff you want to make use of the attached Metadata in your Approval Workflow .

You can also use the New Partner Link given by Oracle but if someone doesn't want to use that and wants to go with the existing approval workflow developed in older versions (old 11g R1) then they can just change the code little bit and everything will work for them