public void activateProcessInstanceByProcessDefinitionId(String processDefinitionId) {
commandExecutor.execute(new ActivateProcessInstanceCmd(null, processDefinitionId, null));
}
public void activateProcessInstanceByProcessDefinitionKey(String processDefinitionKey) {
commandExecutor.execute(new ActivateProcessInstanceCmd(null, null, processDefinitionKey));
}