cancel
Showing results for 
Search instead for 
Did you mean: 

question about processdefinition

evan
Champ in-the-making
Champ in-the-making
I defined helloworld_processdefinition.xml and TASK. This TASK assigned a GROUP. Now I want to stop this TASK after one person of this group perform the APPROVE or REJECT action, only keep down TASK which made the action.
How can I implement this function? Do you have any code example can be reference?
1 REPLY 1

sversh71
Champ in-the-making
Champ in-the-making
Try to use "pooled" task.

Something like this:

   <swimlane name="mygroup">
      <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
         <pooledactors>#{people.getGroup('GROUP_MyGroup')}</pooledactors>
      </assignment>
   </swimlane>