Manager assigning work item in Activiti
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2013 09:00 AM
I wish to implement a work item assignment app wherein a Manager can assign items to his subordinates. Below are a few cases: 1) Escalate and reassign the item from one subordinate to another 2) Division of work load.
I see TaskService.setAssignee API, can this be used to achieve #2. But how can #1 be implemented?
I see TaskService.setAssignee API, can this be used to achieve #2. But how can #1 be implemented?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2013 05:48 AM
ny comments??
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-25-2013 04:17 AM
Hi ajjain,
Isn't setAssignee method in TaskService something you are looking for?
Isn't setAssignee method in TaskService something you are looking for?
/**
* Changes the assignee of the given task to the given userId.
* No check is done whether the user is known by the identity component.
* @param taskId id of the task, cannot be null.
* @param userId id of the user to use as assignee.
* @throws ActivitiObjectNotFoundException when the task or user doesn't exist.
*/
void setAssignee(String taskId, String userId);
