Hi at all,
In the Camunda tasklist is the possibility to filter current tasks for specific variables:
On the right side is the save symbol, if you click it you will get saved options to filter existing tasks:
In the tasklist it is no problem to store those filter options and reuse them. However I want to create some of those filter tasks in my java code, so that the users dont have to create them theirselves.
Is there a way to do it?
So I tried it, but I am using an or() statement and I am getting following error message: Caused by: org.camunda.bpm.engine.ProcessEngineException: Invalid query usage: cannot set orderByProcessVariable() within 'or' query
Thank you for your help
I tried your solution, but unfortunately the tasks I created are not filtered by the variable I chose
I still have to create a sorting manually …