AnsweredAssumed Answered

Inconsistency in displaying archived tasks

Question asked by b.schnarr on Aug 13, 2014
Latest reply on Aug 20, 2014 by b.schnarr
Hello at all,

The archived tab in explorer is very useful, because the user can see all the completed tasks of its own. In order to get displayed in the "Archived" tab, each task needs an owner, because this query is used: historyService.createHistoricTaskInstanceQuery().taskOwner(userId).finished(). If a task has no owner, the task won´t be displayed in the Archived-Tab in Explorer. So far so good. I additionally know that the owner is not set by default. Everything is ok.

Now lets look at a user task without any form properties and at a user task with some form properties. The task without any form properties (or with invisible form properties) is shown in the Archived-Tab automatically without explicitely defining an owner. As soon as a user task gets a visible form property, the task won´t be shown in the Archived-Tab, you need explicitely define an owner.

Therefore my question, if this behaviour is intended? In my opinion, there should not be a difference between user tasks with and without form properties. If no owner is defined, the tasks shouldn´t be visible in the Archived-Tab in Explorer.

Thanks and best regards