cancel
Showing results for 
Search instead for 
Did you mean: 

Support for in query

ashendra1
Champ in-the-making
Champ in-the-making
Hi,

   I want to search all task/execution where a variable value is equal to any object in the list of object values. I don't see any support for this, other than querying for each value separately and then combine the results.

If I try to add them as a separate variable in the request

{
    "processDefinitionKey": "AAA",
    "variables": [
        {
            "name": "id",
            "value": "0f6250fd-b253-458c-a174-c5c7e5b1d505",
            "operation": "equals",
            "type": "string"
        },
        {
            "name": "id",
            "value": "0f6250fd-b253-458c-a174-c5c7e5b1d506",
            "operation": "equals",
            "type": "string"
        }
    ]
}

Then it result in an and operation.

Ashendra
1 REPLY 1

trademak
Star Contributor
Star Contributor
query/tasks and query/process-instances should work for that purpose.

Best regards,