Project

General

Profile

Actions

Task #101

open

Wrong count in workflow task history

Added by Vít Švanda almost 8 years ago. Updated over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
Vít Švanda
Category:
Workflow
Target version:
-
Start date:
08/18/2016
Due date:
% Done:

0%

Estimated time:
Owner:

Description

I used simple two conditions in OR. Returned list of HistoricTaskInstance is correct (for me is size 4). Only count is in this case wrong ( for me 140).

query.or();
query.processVariableValueEquals(WorkflowProcessInstanceService.APPLICANT_USERNAME, loggedUsername);
query.processVariableValueEquals(WorkflowProcessInstanceService.IMPLEMENTER_USERNAME, loggedUsername);
//query.taskInvolvedUser(loggedUsername);
query.endOr();

For now is problem hidden ... pagination is disabled in the table.
Next is need create Junit test and reproduce on activiti forum (https://forums.activiti.org/content/count-or-processvariablevalueequals-and-taskassignee).

Actions

Also available in: Atom PDF