As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
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"); }
<br>if (historicTaskInstance.getAssignee() != null) {<br> taskJSON.put("assignee", historicTaskInstance.getAssignee());<br> } else {<br> taskJSON.putNull("assignee");<br> }<br>
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?
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.
taskServiceImpl. resolveTask(String taskId)
task.complete()