Demian Calcaprina [
http://community.jboss.org/people/calca] created the discussion
"Re: Basic API Question"
To view the discussion, visit:
http://community.jboss.org/message/625770#625770
--------------------------------------------------------------
Diogo,
You can check how it is used in console:
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-graph/sr...
https://github.com/droolsjbpm/jbpm/blob/master/jbpm-gwt/jbpm-gwt-graph/sr...
Or for example this test:
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/...
https://github.com/calcacuervo/JBPM5-Samples/blob/master/human-tasks/src/...
Basically, you create a logger to save information in bam tables:
new JPAWorkingMemoryDbLogger(session);
and then you can use a
JPAProcessInstanceDbLog processLog = new
JPAProcessInstanceDbLog(session.getEnvironment());
to get the information with its methods:
findProcessInstances()
findProcessInstance(processInstanceId)
findNodesInstances(processInstances)
findVariableInstances(processInstances)
etc
Regards,
Demian
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/625770#625770]
Start a new discussion in jBPM at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]