Thank you my friend. There was an issue in my query. Now I am using this query and get the right information.
public List findEndedPooledTaskInstancesByName(List actorIds) { | JbpmContext jbpmContext = Tools.jbpmConfiguration.createJbpmContext(); | try { | List taskList; | Query query = | getSession(jbpmContext).createQuery("select distinct ti\n" + | " from org.jbpm.taskmgmt.exe.PooledActor pooledActor "+ | " join pooledActor.taskInstances ti " + | " where pooledActor.actorId in ( :actorIds ) " + | " and ti.actorId != null " + | " and ti.end != null"); | query.setParameterList("actorIds", actorIds); | taskList = query.list(); | return taskList; | } finally { | jbpmContext.close(); | } | } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225960#4225960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225960 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user