03-13-2013 05:54 AM
if (historicTaskInstance.getOwner() != null) {
taskJSON.put("owner", historicTaskInstance.getOwner());
} else {
taskJSON.putNull("owner");
}
if (historicTaskInstance.getOwner() != null) {
taskJSON.put("assignee", historicTaskInstance.getAssignee());
} else {
taskJSON.putNull("assignee");
}
03-14-2013 07:22 AM
if (historicTaskInstance.getAssignee() != null) {
taskJSON.put("assignee", historicTaskInstance.getAssignee());
} else {
taskJSON.putNull("assignee");
}
03-14-2013 10:01 PM
03-15-2013 05:37 AM
i still have some questions. what does the task owner mean? which business situation it is used? and when the owner should be setted in coding? is there a introduction?
03-15-2013 06:00 AM
The owner is the person responsible for the task. But the owner can delegate to another user to actually do it. When this task is done, the owner is notified.it means we can delegate the task to a user. after this user complete the task,it will be assigned to the owner。here is a tip :when the user complete the task delegated to him, we should use the method:
taskServiceImpl. resolveTask(String taskId)
instead of task.complete()。resolveTask have two steps:
03-18-2013 11:36 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.