CBP::onWorkflowStatusChanged

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

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