ProcessDefinitionEntity processDefinitionEntity = new GetDeploymentProcessDefinitionCmd(
processDefinitionId).execute(commandContext);
String processDefinitionKey = processDefinitionEntity.getKey();
int processDefinitionVersion = processDefinitionEntity.getVersion();
BpmConfBaseManager bpmConfBaseManager = getBpmConfBaseManager();
BpmConfBase bpmConfBase = bpmConfBaseManager
.findUnique(
"from BpmConfBase where processDefinitionKey=? and processDefinitionVersion=?",
processDefinitionKey, processDefinitionVersion);
if (bpmConfBase == null) {