@Override public Collection<String> getReusableSubProcesses(String deploymentId, String processId) { return bpmn2Service.getReusableSubProcesses(deploymentId, processId); }
public SubProcessesDefinition getReusableSubProcesses(String containerId, String processId) { containerId = context.getContainerId(containerId, ContainerLocatorProvider.get().getLocator()); findProcessDefinition(containerId, processId); Collection<String> reusableSubProcesses = definitionService.getReusableSubProcesses(containerId, processId); return new SubProcessesDefinition(reusableSubProcesses); }