- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2017 08:50 AM
I it somehow possible to query for tasks using two taskVariables; either of which would be acceptable. For example, I would like to add the taskVariables below to my query. Obviously they now cancel each other out, because both can never be true at the same time, but for me it would be ok for either of the be to be true - can this be done?
{ "name" : "foo", "value" : "bar", "operation" : "equals", "type" : "string"}
{ "name" : "foo", "value" : "bar", "operation" : "equals", "type" : "string"}
- Labels:
-
Alfresco Process Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017 07:47 AM
Hi Joel,
The Activiti REST API does not offer the OR capability but you can develop a manual workaround requesting two times the endpoint and merge manually the two resulting JSONs.
Ok, it's not clean but... or operator is not available.
I hope it helps you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017 07:47 AM
Hi Joel,
The Activiti REST API does not offer the OR capability but you can develop a manual workaround requesting two times the endpoint and merge manually the two resulting JSONs.
Ok, it's not clean but... or operator is not available.
I hope it helps you.
