AnsweredAssumed Answered

Query all process instances with pending tasks for a candidate

Question asked by edufrazao on Nov 3, 2014
Latest reply on Nov 5, 2014 by edufrazao
How can I query all Process Instances that have pending tasks related to a user?

I'm using this statement:

List<ProcessInstance> instances = runtimeService

But it gets only instances that haves tasks where the assignee is the user. I also need to include the user candidate list, and group candidate lists where the user belongs to.