Support for in query
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2014 07:43 AM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-06-2014 10:26 AM
query/tasks and query/process-instances should work for that purpose.
Best regards,
Best regards,
