Pedro Gonçalves [
https://community.jboss.org/people/pgoncalves] created the discussion
"Re: How to save history of the process in a database"
To view the discussion, visit:
https://community.jboss.org/message/743019#743019
--------------------------------------------------------------
Just declare it after initialize your knowledge session
StatefulKnowledgeSession kSession =
JPAKnowledgeService.newStatefulKnowledgeSession(getKbase(), null, env);
JPAWorkingMemoryDbLogger jbpmLogger = new JPAWorkingMemoryDbLogger(kSession);
// do stuff (start processes, etc...)
jbpmLogger.dispose();
Everything should be logged in the database!
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/743019#743019]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]