Is there a way of checking to see if there are users in a role before assigning a task to that role in a cloud system? I can do this in an on-prem system but can't see how to do it in a cloud system.
I was hoping to use the error output from the 'Assign to' step to catch the error of assigning a task to a role when there aren't users in the role but I just tested it and found that if there aren't users in a role it doesn't use the error output, it just reassigns the task to the administrator (which is annoying - what's the error output for if not to catch errors?). I don't want this task assigned to the administrator if there aren't users in a role, I just want to assign it to a different role, so if I can check it before the 'Assign to' step then I can do that.