cancel
Showing results for 
Search instead for 
Did you mean: 

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

yash_patel_c2
Star Contributor
Star Contributor

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 2

yash_patel_c2
Star Contributor
Star Contributor

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

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) ?