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.
Hi.
A completed task can be queried using a HistoricTaskInstanceQuery.
For example;
HistoricTaskInstance historicTaskInstance = historyService.createHistoricTaskInstanceQuery().taskId(claimedTask.getId()).singleResult(); String assignee = historicTaskInstance.getAssignee();
Hope this helps.
Regards,
Yvo