I’ve searched the topics but don’t see an answer for this Task Query or Filter question. We have a need to find User Tasks based on a combination of several Process Variables. In the absence of an in-list capability we would be looking for something like this:
(Variable1 = 'A' or Variable1 = 'B' or Variable1 = 'C')
AND
(Variable2 = 'AA or Variable2 = 'BB' or Variable2 = 'CC')
Is that at all possible via the REST API? If not, how have others overcome accomplished more complex queries?
Thanks, Miklas. If I am to cross the java boundary I am wondering what would be the simplest approach to do this. Currently, my applications use the Camunda engines via the REST API, with extensive use of External Tasks and a small amount of Groovy scripting in Listeners.
If I wanted to leverage the Java SDK/API for the rare case where the REST interface doesn’t provide the exact functionality I need, would a Java engine plug-in make sense? For the use case in this thread, I am wanting to basically extend the REST API to provide a query capability that doesn’t exist or would be inefficient with the existing endpoints. My team has limited java experience and would look for the simplest approach.
I think the easiest solution would be to embedd th REST API into a web application that could then extend/modify the existing API endpoints or even add new ones.