final String operationName = "Deployment of Process Application "+processApplication.getName();
serviceContainer.createDeploymentOperation(operationName)
.addAttachment(Attachments.PROCESS_APPLICATION, processApplication)
.addStep(new ParseProcessesXmlStep())
.addStep(new ProcessesXmlStartProcessEnginesStep())
.addStep(new DeployProcessArchivesStep())
.addStep(new StartProcessApplicationServiceStep())
.addStep(new PostDeployInvocationStep())
.execute();