Would something like:
| JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
|
| ProcessInstance procinst = jbpmContext.getProcessInstance(longMyProcId);
|
| TaskMgmtInstance taskmgmtinst = procinst.getTaskMgmtInstance();
|
| Collection collTaskInstances = taskmgmtinst.getTaskInstances();
|
be helpful for your application? If you need all task instances for all process instances
you'd need to loop over process instances.
If you need to get all process instances you might want to check into:
JbpmContext.getGraphSession()
GraphSession.findLatestProcessDefinitions()
GraphSession.findProcessInstances(long processDefinitionId)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127994#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...