Hi,
I have need of this functionality and would prefer not to execute two queries as that seems wasteful.
It seems this is a pretty small change to selectTaskByQueryCriteriaSql in Task.xml mapping file such as the one attached. If this sounds ok I'll go ahead and raise a JIRA and patch the Activiti test case (I have written unit tests for my particular context already but I don't use candidateUser).
Tim