public NodeInstanceList getActiveNodes(String containerId, String caseId, Integer page, Integer pageSize) { Collection<NodeInstanceDesc> activeNodeInstances = caseRuntimeDataService.getActiveNodesForCase(caseId, ConvertUtils.buildQueryContext(page, pageSize)); List<NodeInstance> activeNodes = ConvertUtils.transformNodeInstance(activeNodeInstances); NodeInstanceList activeNodesList = new NodeInstanceList(activeNodes); return activeNodesList; }