Hi @mhais
I’ve performed a quick and simple test based on the description of the issue.
I started two instances and added a variable to one of them.
After that, I can successfully filter instances with a request similar to yours(Camunda version 7.15).
It’s hard to say what is going wrong in your case. It sounds like the filter can’t find process instances with a given variable filter. I would double-check it again.
@mhais
The only way I can reproduce the behavior you described is if I filter Completed instances.
Start 3 instances, add a variable to two of them. Complete one of the instances with a variable and execute the request. You will see only one process instance returned because another one is already Completed.
You have to use another REST call to filter Completed instances - Get Process Instances | docs.camunda.org