Dear Developers,
Can you please help with sample code to assign a task to multiple users ( not a single user).
List<String> userList = findUserService.findUsersByTaskLevel(execution,"approveAction");
for (String userId : userList){
taskService.addCandidateUser(execution.getId(), userId);
}
Is this the right way, but this is not working for me.