serviceContainer.createUndeploymentOperation(operationName)
.addAttachment(Attachments.PROCESS_APPLICATION, processApplication)
.addStep(new PreUndeployInvocationStep())
.addStep(new UndeployProcessArchivesStep())
.addStep(new ProcessesXmlStopProcessEnginesStep())
.addStep(new StopProcessApplicationServiceStep())
.execute();
LOGGER.info("Process Application "+processAppName+" undeployed.");
}