[jboss-user] [JBoss jBPM] - Re: TaskQuery w/ ProcessInstanceId possible?

jbarrez do-not-reply at jboss.com
Thu Aug 6 04:24:29 EDT 2009


This is certainly possible and is coverd by our QA test suite (see for example TaskQueryProcessTest). 


  |  List<Task> parisTasks = taskService
  |       .createTaskQuery()
  |       .processInstanceId(parisProcessInstance.getId())
  |       .list();
  | 

How is the process instance created (ie post your createProcessInstance() method)?

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4248347#4248347

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4248347



More information about the jboss-user mailing list