...Человеческий поиск в разработке...
- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/classes/general/workflow.php
- Класс: CBPWorkflow
- Вызов: CBPWorkflow::faultActivity
public function faultActivity(CBPActivity $activity, Exception $e, $arEventParameters = array()) { if ($activity->executionStatus == CBPActivityExecutionStatus::Closed) { if ($activity->parent == null) $this->Terminate($e); else $this->FaultActivity($activity->parent, $e, $arEventParameters); } else { $activity->SetStatus(CBPActivityExecutionStatus::Faulting); $this->AddItemToQueue(array($activity, CBPActivityExecutorOperationType::HandleFault, $e)); } }