cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamically add/delete assignee after starting workflow

shimu
Champ in-the-making
Champ in-the-making
Hi,

Is there any way we can edit the workflow instance after starting it. My requirement is to add/delete assignee to a task. The task itself is a multi instance review task. On alfresco, we only have the option to cancel the workflow and view the workflow. Wondering if we can define a custom action to edit the workflow instance and delete the assignee if some one is not available or add more to the review task.

Thanks

Sumaiya
1 REPLY 1

jbarrez
Star Contributor
Star Contributor
Sure you can, it's just an API call away.
You can query all the tasks through the TaskQuery and set the assignee through the taskService.setAssignee operation.