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"}
Solved! Go to Solution.
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.
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.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.