-
1. Re: display the history logs for a process instance
arunvg Mar 4, 2012 8:04 AM (in response to malabalu)1 of 1 people found this helpfulHope you are looking for the API for retrieving the history data. If you want to access the histry log provided by the JBPM you can use the below code
//Enabling the history Service
JPAWorkingMemoryDbLogger workingMemoryDbLogger = new JPAWorkingMemoryDbLogger(knowledgeSession);
// Get the JPA interface for History service
JPAProcessInstanceDbLog historyService = new JPAProcessInstanceDbLog(knowledgeSession.getEnvironment());The
JPAProcessInstanceDbLog
gives the API for retrieving the available history related dataAnother way to implement your on history log is to implement the ProcessEventListener , check the documentation for more details.
Cheers
-
2. Re: display the history logs for a process instance
malabalu Mar 7, 2012 2:09 PM (in response to arunvg)thanks Arunf or your reply ...I was looking for more of a UI based page or view to display the logs for audit purpose.
May be I should develop a web based page and retrieve the logs through API and dispaly it.
-
3. Re: display the history logs for a process instance
swiderski.maciej Mar 9, 2012 7:18 AM (in response to malabalu)1 of 1 people found this helpfulYou can look at Business Activity Monitoring capabilities of jBPM5 that is embedded in console as well. Here you can find some details about BAM in general and here about its integration with jbpm-console.
HTH