This content has been marked as final.
Show 2 replies
-
1. Re: question about how to retrieve all tasks
mwohlf Nov 22, 2007 5:14 AM (in response to binyorku)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();
-
2. Re: question about how to retrieve all tasks
binyorku Nov 22, 2007 10:29 AM (in response to binyorku)Thanks a lot.