cancel
Showing results for 
Search instead for 
Did you mean: 

Automatically assign task to group

nikes
Champ on-the-rise
Champ on-the-rise
Hello all,

In my advanced custom workflow, I want to assign task to particular  group.

I dont want to give functionality to select any assinee.

How can I achieve this?

Lets say I have a group called "Marketing". How to write swimlane for the same?

Thanks,
Nikesh
2 REPLIES 2

nikes
Champ on-the-rise
Champ on-the-rise
I am able to launch workflow using javascript automatically when any document is uploaded, as well as assign task to pre-defined group in processdefinition swimlane.


<swimlane name="reviewer">
   <assignment class="org.alfresco.repo.workflow.jbpm.AlfrescoAssignment">
      <pooledactors>Group_MyReviewerGroupName</pooledactors>
   </assignment>
</swimlane>


Thanks,
Nikesh

bikash
Champ in-the-making
Champ in-the-making
Thanks,
But If I want to assign dynamically depending upon some business logic like there are groups groupA, groupA_review, groupA_approve, groupB, groupB_review, groupC_approve. Whenever groupA user submit a doc for review it should go to groupA_review and when groupB user submit a doc for review it should go to groupB_review for review.
How can I implement this.