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<TaskInstance> taskList =
taskCrit.getExecutableCriteria(jbpmContext.getSession()).list();
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4107027#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...