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

binyorku do-not-reply at jboss.com
Wed Nov 21 13:31:22 EST 2007


I am new about jbpm. I want to retrieve all tasks of a particular actorId, but by using the following code, only those open tasks are retrieved.

JbpmContext jContext =  JbpmConfiguration.getInstance().createJbpmContext();
List taskList = jContext.getTaskList(actorId);

I checked the hibernate query generated by this method, there is a condition:
taskinstan0_.ISOPEN_=1

If I want to retrieve all tasks including those closed tasks and review them, how should I do? Any help? Thanks in advance.

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

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



More information about the jboss-user mailing list