I want my interface to expose a list of users that a particular task can be assigned to, according to that tasks candidate-groups paramater.
The API doesn't seem to offer any direct call (such as Task.getCandidateGroups() or even Task.getCandidateUsers()).
In fact, I dont even see a method to get a particular task's candidate-groups other than iterating through every possible candidate-group via a TaskQuery... and testing each one to see if the task list it returns includes the task id I'm interested in.
Is there an easier (less cludgesome way) to do this?
I just found this:
That does what I want. thanks. hmmm ... strange abstraction logic.