Hello,
thanks to all of you for your great help !
Just to complete the discussion I'm adding the code use to get the candidate-groups/-users:
List<Participation> participations = TaskService().getTaskParticipations(task.getId());
for (Participation participation : participations) {
System.out.println(
"type: " + participation.getType()
+ " user: " + participation.getUserId()
+ " group: " + participation.getGroupId());
}
It's nearly the same as mentioned before.
Thanks a lot
Sebastian Herbst