1 Reply Latest reply on Nov 23, 2009 7:19 PM by edeleflie

    Retrieve list of users matching task candidate-groups

    edeleflie

      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?

      Etienne