Quick tips on Case Management audit events by Vikram Bailur
March 1, 2016 Leave a comment
Adaptive Case Management has rich APIs to retrieve the events that transpired within a case instance. Here is an example of using case events and some important tips. This information applies to Oracle BPM 11g and 12c.
Create a java class with a main method to retrieve the case audit events
Some key tips:
1. Passing a null value for TEventType will retrieve all the case events just like the default view on the case workspace. Passing a specific value retrieves only those specific event types – see the API for more details.
2. Make sure the pageNum and pageSize are in the correct position when calling the method – it will not retrieve any values if they are wrong.
3. Using additionalCaseEventInfo.add(ICaseConstants.CaseEventInfo.taskInfo); will work only for Case activities that are Human Tasks (does not work on BPMN or custom case activities). This retrieves an oracle.bpm.casemgmt.task.model.TaskInfo object that will retrieve all the details on the task including task assignees (see oracle.bpm.casemgmt.task.model.Task API for more details). Read the complete article here.
For regular information on Oracle SOA Suite become a member in the SOA & BPM Partner Community for registration please visit www.oracle.com/goto/emea/soa (OPN account required) If you need support with your account please contact the Oracle Partner Business Center.
Blog
Twitter
LinkedIn
Facebook
Wiki
Technorati Tags: SOA Community,Oracle SOA,Oracle BPM,OPN,Jürgen Kress
