CBPRuntime::onWorkflowStatusChanged

  1. Bitrix24 API (v. 23.675.0)
  2. bizproc
  3. CBPRuntime
  4. onWorkflowStatusChanged
  • Модуль: bizproc
  • Путь к файлу: ~/bitrix/modules/bizproc/classes/general/runtime.php
  • Класс: CBPRuntime
  • Вызов: CBPRuntime::onWorkflowStatusChanged
public function onWorkflowStatusChanged($workflowId, $status)
{
	if (
		$status === CBPWorkflowStatus::Completed ||
		$status === CBPWorkflowStatus::Terminated ||
		$status === CBPWorkflowStatus::Suspended
	)
	{
		unset($this->workflows[$workflowId]);
	}
}

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