.setJobExecutorDeploymentAware(true);
} else {
throw ex;
}
}
ProcessEngine otherEngine = otherProcessEngineConfiguration.buildProcessEngine();
// 2. deploy again
RepositoryService otherRepositoryService = otherEngine.getRepositoryService();
String deploymentId = otherRepositoryService.createDeployment()