[jboss-user] [jBPM] - Re: how to get the history tasks list use jbpm5, it's best to show the code, thanks!

wqe wqe do-not-reply at jboss.com
Wed Sep 12 06:44:15 EDT 2012


wqe wqe [https://community.jboss.org/people/drupalspring] created the discussion

"Re: how to get  the history tasks list use jbpm5,it's best to show the code,thanks!"

To view the discussion, visit: https://community.jboss.org/message/759163#759163

--------------------------------------------------------------
https://github.com/droolsjbpm/jbpm/tree/master/jbpm-human-task/jbpm-human-task-core/src/main/java/org/jbpm/task/admin In master branch , it seems that a TasksAdmin interface is added . This interface can be created by the TaskSessionFactory and has the followings methods that seems can achieve your purpose :

*  public List<TaskSummary> getCompletedTasks();
*  public List<TaskSummary> getCompletedTasks(Date since);
*  public List<TaskSummary> getArchivedTasks();
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/759163#759163]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120912/4239e0d8/attachment.html 


More information about the jboss-user mailing list