Task search via REST API

how to get task list of task which have name =“x” or name=“y”
I know that i can do smth like .

{
    "variables": [
      {
        "name": "variableName",
        "operator": "eq",
        "value": "variableValue"
      }
    ]
  }

but how achive OR

Hi @pertsh.galstyan
You cannot do an OR query via the REST api as far as I know.
So you would have to do two queries and join the results.

Hello my friend!

As informed by our champion @rohwerj , this possibility does not exist in a single consultation. Below I leave the part of the doc where you can check which operators can be used.

image

William Robert Alves

1 Like

Don’t hesitate to extend out-of-box camunda rest api with you own endpoints specific to your particular application. And inside your endpoint you can do anything you need with the camunda database.

1 Like

Thank you for your response

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.