Here you can find details on how to configure it and then you can use org.jbpm.process.audit.JPAProcessInstanceDbLog to query for stored information.
HTH
Reply to this message by going to Community
Start a new discussion in jBPM at Community