OIM11G: Way to get values from dataset of the application for approval

All,

How get the application of dataset attribute values in the approval process? (Same as get object data in the process of approval to 9.x).

I'm looking at the documentation http://download.oracle.com/docs/cd/E14571_01/ doc.1111 /e14309/workflow_service.htm#CIAGFJAB and that doesn't seem to be mandatory in BPEL is.

The only way that I can think of is to take the RequestID and use the API to find the attribute values dataset query. Any other ideas?

Kind regards
BB

Someone suggested in the following way:

oracle.iam.request.vo.Request req = reqSvc.getBasicRequestData (reqId);
String act_key = "";
String Gestionnairecourrierelectronique = "";
java.util.List targetEntities = req.getTargetEntities ();
If (targetEntities! = null) {}
for (oracle.iam.request.vo.RequestEntity requestEntity: targetEntities) {}
java.util.List attributes = requestEntity.getEntityData ();
for (oracle.iam.request.vo.RequestEntityAttribute attribute: attributes) {}
{if (Attribute.GetName (.equalsIgnoreCase ("Organization")))}
act_key = attribute.getValue (m:System.NET.SocketAddress.ToString ());
} else {if (attribute.getName (.equalsIgnoreCase ("Manager")))
Gestionnairecourrierelectronique = attribute.getValue (m:System.NET.SocketAddress.ToString ());
}
}

Here, Manager and organization are attributes of the dataset.

Hope this helps the other. Credit to the original supplier.

Tags: Fusion Middleware

Similar Questions

Maybe you are looking for