AnsweredAssumed Answered

Unable to create Archived Task?

Question asked by chrisx_212 on Feb 25, 2016
Latest reply on Mar 1, 2016 by jbarrez
Hello. I'd like to ask where did I go wrong in this. I made a process and then I started it and completed it. However, the task does not appear in the Archived Task panel. Where did I go wrong in this? What needs to be done? FYI, there is this line in the ArchivedListQuery page:

protected HistoricTaskInstanceQuery createQuery() {
   return historyService.createHistoricTaskInstanceQuery().taskOwner(userId).finished();

And I'm sure my userId was filled. Can anyone help?