hql.append("where executionId in (:executionId) ");
hql.append("and task.assignee in (:assignee) ");
return hql.toString();
}
};
return (List<Task>) q.execute(environment);
}
};
List<Task> tasks = getProcessEngine(ctx).execute(cmd);
return collectTasks(tasks, processInstance, ctx);
}