Paging does not work when I set includeProcessVariables

I am using flowable 6.6.0 version. When we try to retrieve active task list count differs when we set includeProcessVariable(). Due to indifferent count pagination not working properly. when we navigate more than 335 records, data is empty.

Any idea how to resolve this issue ?

  1. taskService.createTaskQuery().taskTenantId(“tenantId”).active() - 853 count

  2. taskService.createTaskQuery().taskTenantId(“tenantId”).includeProcessVariables().active() – 335 count

Note - includeProcessVariable() is required since filter & search functionality performed on some of the process variables.

It looks like this issue resolved in flowable 6.7.0 version