AnsweredAssumed Answered

Get persion form a group

Question asked by evan on Apr 9, 2010
Latest reply on Apr 13, 2010 by evan
Hi All;
     I know workflow can be used foreachfork to get all member in one group.
 

   <action class="org.alfresco.repo.workflow.jbpm.ForEachFork">
      <foreach>#{people.getMembers(wf_reviewGroup)}</foreach>
      <var>reviewer</var>
   </action>
 
  now i know that I can use the following code to assign task to all member which is in the group.

<assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
        <actor>#{reviewer}</actor>
      </assignment>

My question is ,if I want to assign task to a specified person who is in the group.How can I get the person ?

Outcomes