CBPWorkflow::getAvailableStateEvents

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPWorkflow
  4. getAvailableStateEvents
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/workflow.php
  • Класс: CBPWorkflow
  • Вызов: CBPWorkflow::getAvailableStateEvents
public function getAvailableStateEvents()
{
	if (!is_a($this->rootActivity, "CBPStateMachineWorkflowActivity"))
		throw new Exception("NotAStateMachineWorkflow");

	return $this->rootActivity->GetAvailableStateEvents();
}

Добавить комментарий