when i use jbpm4.CR1, invoke taskService.findGroupTasks("chief1"),  then i can get all tasks not only just for user chief1 and chief1's group chief.

i read the TaskQueryImpl.java file, find this

appendWhereClause("(participant.userId = :candidateUserId) or (participant.groupId in (:candidateGroupIds) )", hql);

seems here lose a (), like this:
appendWhereClause("((participant.userId = :candidateUserId) or (participant.groupId in (:candidateGroupIds) ))", hql);

so i change the source file , then rebuild this class, that's ok.

so who can tell me you also find this problem? why have so simple mistake in  this version?