Dynamically add/delete assignee after starting workflow

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2013 12:29 PM
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
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
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2013 03:01 AM
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.
You can query all the tasks through the TaskQuery and set the assignee through the taskService.setAssignee operation.
