If you want to get the data of
- ProcessInstances , Session details - Use the methods in the object of knowledgeSession you have created (org.drools.runtime.StatefulKnowledgeSession)
- Tasks - Use the methods in the task client object connected to the task server (org.jbpm.task.service.TaskClient)
- ProcessInstanceLog,NodeInstanceLog,VariableInstanceLog - Use the methods in JPAProcessInstanceDbLog object create after enabling the JPAWorkingMemoryDbLogger (org.jbpm.process.audit.JPAProcessInstanceDbLog)