CBPWorkflow::finalizeActivity

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

	//if ($activity->executionStatus != CBPActivityExecutionStatus::Closed)
	//	throw new Exception("InvalidFinalizingState");

	$activity->Finalize();
}

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