AnsweredAssumed Answered

taskVariableValueEquals method does not work

Question asked by plehal on May 4, 2012
Latest reply on May 7, 2012 by trademak
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".

Outcomes