JBoss Community

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

created by wqe wqe in jBPM - View the full discussion

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

Start a new discussion in jBPM at Community