How to assign Workflow to the new user of the group?

cancel
Showing results for 
Search instead for 
Did you mean: 
yash_patel_c2
Established Member

How to assign Workflow to the new user of the group?

I have the workflow to review the documents. When workflow is initiated, task will go with the Reviewer group which has initially 4 users. Now if If I add the 5th User in the group before the task is claimed by any of the 4 users, the task should also be available to the 5th user. How can I implement this?

2 Replies
yash_patel_c2
Established Member

Re: How to assign Workflow to the new user of the group?

Bassam Al-Sarori‌ Can you please help me regarding this matter?

bassam_al-saror
Alfresco Employee

Re: How to assign Workflow to the new user of the group?

You can add the 5th user as a candidate to the task instance at runtime. Did you try taskService.addCandidateUser TaskService (Activiti - Engine 5.22.0 API) ?