public SyncProcessCmd(String processDefinitionId) {
this.processDefinitionId = processDefinitionId;
}
public Void execute(CommandContext commandContext) {
ProcessDefinitionEntity processDefinitionEntity = new GetDeploymentProcessDefinitionCmd(
processDefinitionId).execute(commandContext);
String processDefinitionKey = processDefinitionEntity.getKey();
int processDefinitionVersion = processDefinitionEntity.getVersion();
BpmConfBaseManager bpmConfBaseManager = getBpmConfBaseManager();
BpmConfBase bpmConfBase = bpmConfBaseManager