cancel
Showing results for 
Search instead for 
Did you mean: 

taskVariableValueEquals method does not work

plehal
Champ in-the-making
Champ in-the-making
taskVariableValueEquals method in Interface TaskQuery does not work in 5.9.

taskService().createTaskQuery()
            .processDefinitionName("ECR1").taskName(gate)
             .taskVariableValueEquals("vstr10", "20")
            .list();
return a list of zero size however when I run
taskService().createTaskQuery()
            .processDefinitionName("ECR1").taskName(gate)
            .list();  and get variables from  the task, I do get the tasks which have that variable(vstr10) set to "20".
1 REPLY 1

trademak
Star Contributor
Star Contributor
Hi,

Can you create a unit test that reproduces this problem?

Best regards,