Hello, I am having difficulty getting the userId that completed a Task that was assigned to a group, or a Task not assigned to a group. Any solution to this is welcome.
A completed task can be queried using a HistoricTaskInstanceQuery.
HistoricTaskInstance historicTaskInstance = historyService.createHistoricTaskInstanceQuery().taskId(claimedTask.getId()).singleResult(); String assignee = historicTaskInstance.getAssignee();
Hope this helps.