AnsweredAssumed Answered

TaskQuery count mismatch

Question asked by agarwalnitish18 on Dec 28, 2016
Latest reply on Jan 4, 2017 by thuynh

HI,

I am using activti 5.21 and executing th below query.

 

query = taskService.createTaskQuery().taskCategory("incomplete").active().orderByTaskCreateTime().desc()
.includeProcessVariables();

 

if i do query.count(),its returning me count as 667, but when i do quey.list().size(), its returning me 376.

 

I am new to activiti.Please help me understand what is causing the above scenario.

Outcomes