I used below request and got result
{
"page": {
"limit": 1
},
"sort": [
{
"field": "processInstanceKey",
"order": "ASC"
}
],
"filter": {
"processDefinitionId": "Process_SomeID"
}
}
But when I use below query to filter out based on variable then I do not see results although the variable and value exists in Camunda operate:
{
"page": {
"limit": 1
},
"sort": [
{
"field": "processInstanceKey",
"order": "ASC"
}
],
"filter": {
"variables": [
{
"name": "respectiveVariableName",
"value": "003322ac-24dd-430f-9fce-30cc27a4ae29-1"
}
],
"processDefinitionId": "Process_SomeID"
}
}
The query matches the given variable and not all variables right?
What is going wrong here?