CBPWorkflow::initializeActivity

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPWorkflow
  4. initializeActivity
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/workflow.php
  • Класс: CBPWorkflow
  • Вызов: CBPWorkflow::initializeActivity
public function initializeActivity(CBPActivity $activity)
{
	if ($activity == null)
		throw new CBPArgumentNullException("activity");

	if ($activity->executionStatus != CBPActivityExecutionStatus::Initialized)
		throw new Exception("InvalidInitializingState");

	$activity->Initialize();
}

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