4 Replies Latest reply on May 10, 2007 7:35 AM by Vedavyas N Rao

    Using pooled-actors in jPdl

    Vedavyas N Rao Newbie

      Hi all,

      I am trying to assign a task to a group of users based on their roles using the <assignment pooled-actors="..."/> statement in the process definition file. this is the code snippet.

      <task name="for-approval" description="creation request">
       <assignment pooled-actors="P1lead,P2lead"/>
      </task>


      What attributes should be set in the authenticator class so that these particular users can view the tasks? Is it enough to set just the actorId using actor.setId() or does the groupActorIds() come into picture here. If so please let me know how can this be done?

      Any help would be greatly appreciated.

      Thanks