@Override public Collection<NodeInstanceSummary> getProcessInstanceCompletedNodes(long processInstanceId) { ProcessInstanceDesc piDesc = dataService.getProcessInstanceById(processInstanceId); return NodeInstanceHelper.adaptCollection( dataService.getProcessInstanceCompletedNodes(piDesc.getSessionId(), processInstanceId)); }
public Collection<NodeInstanceSummary> getProcessInstanceFullHistory(long processInstanceId) { ProcessInstanceDesc piDesc = dataService.getProcessInstanceById(processInstanceId); return NodeInstanceHelper.adaptCollection( dataService.getProcessInstanceFullHistory(piDesc.getSessionId(), processInstanceId)); }