public void activateProcessDefinitionByKey(String processDefinitionKey) {
commandExecutor.execute(new ActivateProcessDefinitionCmd(null, processDefinitionKey, false, null));
}
public void activateProcessDefinitionByKey(String processDefinitionKey, boolean activateProcessInstances, Date activationDate) {
commandExecutor.execute(new ActivateProcessDefinitionCmd(null, processDefinitionKey, activateProcessInstances, activationDate));
}