AnsweredAssumed Answered

counting HistoricTaskInstance

Question asked by r3dge on Oct 1, 2015
Latest reply on Oct 5, 2015 by r3dge
Hi,

I'm trying to figure out how to count historic task instance.


List<HistoricTaskInstance> taches = pe.getHistoryService().createHistoricTaskInstanceQuery().taskDefinitionKey(TaskDefinitionKey).taskCreatedOn(date).list();


-> Return nothing.


List<HistoricTaskInstance> taches = pe.getHistoryService().createHistoricTaskInstanceQuery().taskDefinitionKey(TaskDefinitionKey).taskCreatedBefore(dayAfter).taskCreatedAfter(dayBefore).list();


-> return a result

It looks like a bug. What's wrong ?

Outcomes