I want to flag tasks that are neither assigned, nor have candidate users, nor candidate groups.
I have been looking in into
taskService.createTaskQuery() but I don’t know how to query for this.
I am ready to resort to an ugly native query involving a join such that rows
act_ru_task have null assignee and where the task id does not appear in any row of
act_ru_identitylink.task_id_ where the type is
candidate but I thought I would ask before going this ugly path in case I have missed something, or someone suggests a more elegant solution that leverages the higher taskService api. Thank you for a beautiful program.