This content has been marked as final. Show 3 replies
tasks do not have to be assigned to swimlanes. You can assign actors to them and those are used to get tasklists for. If they are assigned to swimlanes, actors/groups are taken from those
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:
Or build a custom hibernate query