diff --git a/engine/src/main/java/org/camunda/bpm/engine/impl/TaskQueryImpl.java b/engine/src/main/java/org/camunda/bpm/engine/impl/TaskQueryImpl.java index db87c6e7212..c23eeb05eb1 100644 --- a/engine/src/main/java/org/camunda/bpm/engine/impl/TaskQueryImpl.java +++ b/engine/src/main/java/org/camunda/bpm/engine/impl/TaskQueryImpl.java @@ -454,13 +454,13 @@ public TaskQuery taskCandidateGroupExpression(String candidateGroupExpression) { @Override public TaskQuery taskCandidateGroupLike(String candidateGroupLike) { - ensureNotNull("Candidate group like", candidateGroup); + ensureNotNull("Candidate group like", candidateGroupLike); if (!isOrQueryActive && (candidateUser != null || expressions.containsKey("taskCandidateUser"))) { throw new ProcessEngineException("Invalid query usage: cannot set both candidateGroupLike and candidateUser"); } - this.candidateGroupLike = candidateGroup; + this.candidateGroupLike = candidateGroupLike; return this; } diff --git a/engine/src/main/java/org/camunda/bpm/engine/task/TaskQuery.java b/engine/src/main/java/org/camunda/bpm/engine/task/TaskQuery.java index 33008fb14b0..4bcc1edd0aa 100644 --- a/engine/src/main/java/org/camunda/bpm/engine/task/TaskQuery.java +++ b/engine/src/main/java/org/camunda/bpm/engine/task/TaskQuery.java @@ -331,7 +331,7 @@ public interface TaskQuery extends Query { * {@link #taskCandidateUserExpression(String)} has been executed on the "or query" instance. *
  • When passed group is null.
  • */ - TaskQuery taskCandidateGroupLike(String candidateGroup); + TaskQuery taskCandidateGroupLike(String candidateGroupLike); /** * Only select tasks for which the 'candidateGroup' is one of the given groups.