aCandidateGroupList.add("${management}");
aCandidateGroupList.add("${accounting}");
aCandidateGroupList.add("${backoffice}");
for (String candidateGroup : aCandidateGroupList) {
Expression candidateGroupExpression = expressionManager.createExpression(candidateGroup);
taskDefinition.addCandidateGroupIdExpression(candidateGroupExpression);
}
// when
decorate(task, taskDecorator);