I see there is just one possibility to create query with IN with TaskQuery or HistoricTaskQuery and thats the .taskCandidateGroupIn(list)
However this candidates are only unassigned.
There would be really nice to make it more free and add more IN options. Maybe .processVariableValueIn(varName, list) will be nice place where users can specify own variable.
(assigneeIn, …)
Thx for response, hope its not so bad idea for some new release.
I would agree there are a ton of stuff that could be added to the queries. But to be frank, the quickest way to get them in, is through a pull request, as these things do not have a high priority currently for us.