Not able to filter tasks based upon task's variable value

I have created a filter and passed taskvariables as below in the “query” field.
“taskVariables”: [{“name”:“name”,
“operator”:“eq”,“value”:“John”}]

Though task contain a formField with name “name”, the above filter returns no data.

Hi @Asutosh_Dash,

the docs https://docs.camunda.org/manual/7.16/reference/rest/task/post-query/ say

taskVariables: A JSON array to only include tasks that have variables with certain values.

If you try

processVariables: A JSON array to only include tasks that belong to a process instance with variables with certain values.

you may see the expected process instances.

Hope this helps, Ingo