Thank you very much for your answers! I'm using <code>historyService.getHistoricIdentityLinksForTask(String processInstanceId)</code> to get <code>HistoricIdentityLink</code>s associated with the given process instance. Then there is a method <code>getGroupId()</code> which retrieves an id of a group. Users in this group are pooled actors for a given task.