08-08-2014 05:49 PM
public void reAssignTasks(String[] tasks, String inboxOfUserSelected, String assignedToUser) throws ActivitiException {
TaskQuery taskQuery = taskService.createTaskQuery();
try {
for (String taskid : tasks) {
Task task = taskQuery.taskId(taskid).singleResult();
task.setAssignee(assignedToUser);
taskService.saveTask(task);
}
} catch (Exception excep) {
log.error("Error raised when reassigning tasks in ExplorerTaskServiceImpl reAssignTasks", excep.fillInStackTrace());
throw new ActivitiException(excep.toString());
}
}
08-11-2014 03:47 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.