When assigning a task to a user I don’t see the assignee column in act_ru_task getting updated. When retrieving the same task again the assignee is empty.
Example:
Task task = this.taskService.createTaskQuery().taskId(id).singleResult();
Logger.info("task is assigned to {}", task.getAssignee());
Logger.info("Assigning task ... ");
task.setAssignee("some_user");
Logger.info("task is assigned to {}", task.getAssignee());
Logger.info("Retrieving task again ... ");
task = this.taskService.createTaskQuery().taskId(id).singleResult();
Logger.info("task is assigned to {}", task.getAssignee());
Output:
[info] application - task is assigned to null
[info] application - Assigning task ...
[info] application - task is assigned to some_user
[info] application - Retrieving task again ...
[info] application - task is assigned to null
How to solve this? Is there a command to commit the task update?