// possibly because the deployment is being modified and not fully un/deployed.. (un/deploy*ing*)
logger.debug( "Unable to retrieve process definition for process '{}' in deployment '{}': {}",
processId, deploymentId, e.getMessage(), e);
continue;
}
JaxbProcessDefinition jaxbProcDef = convertProcAssetDescToJaxbProcDef(processAssetDesc);
Map<String, String> variables;
try {
variables = bpmn2DataService.getProcessVariables(deploymentId, processId);
} catch( Exception e) {
// possibly because the deployment is being modified and not fully un/deployed.. (un/deploy*ing*)
logger.debug( "Unable to retrieve process definition data for process '{}' in deployment '{}': {}",
processId, deploymentId, e.getMessage(), e);
continue;
}
jaxbProcDef.setVariables(variables);
procDefList.add(jaxbProcDef);
if( procDefList.size() == maxNumResults) {
// pagination parameters indicate that no more than current list is needed
break;