AnsweredAssumed Answered

How to query all task of a user(userId and candidate user and group) including historic?

Question asked by bbbxixixixi on Mar 26, 2016
Latest reply on Mar 28, 2016 by bbbxixixixi
I find that we can do this when the task is not finished by calling taskService.createTaskQuery().taskCandidateOrAssigned, however, there is no such method for running and historic tasks all together. I may do this by querying all running and historic respectively and manage them via java code, but I consider it is not a very good idea and it surely will comsume a lot of resources.
Could you give me some advice? Thanks.