[jboss-user] [jBPM] - Re: display the history logs for a process instance
Arun V G
do-not-reply at jboss.com
Sun Mar 4 07:41:25 EST 2012
Arun V G [https://community.jboss.org/people/arunvg] created the discussion
"Re: display the history logs for a process instance"
To view the discussion, visit: https://community.jboss.org/message/721396#721396
--------------------------------------------------------------
Hope 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 data
Another way to implement your on history log is to implement the ProcessEventListener , check the documentation for more details.
Cheers :)
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/721396#721396]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120304/852e619f/attachment.html
More information about the jboss-user
mailing list