[jboss-user] [JBoss jBPM] - Re: question about how to retrieve all tasks

2007-11-22 Thread binyorku
Thanks a lot. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107134#4107134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4107134 ___ jboss-user mailing list jboss-user@lists

[jboss-user] [JBoss jBPM] - Re: question about how to retrieve all tasks

2007-11-22 Thread mwohlf
This can be done with a hibernate query, you can even add some ordering: | DetachedCriteria taskCrit = DetachedCriteria.forClass(TaskInstance.class) | .add(Restrictions.eq("actorId", actorId) | .addOrder(Order.desc("start"); | | List taskList = taskCrit.getExecutableCriteria(jbpmCont