...Человеческий поиск в разработке...
- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/classes/general/workflow.php
- Класс: CBPWorkflow
- Вызов: CBPWorkflow::executeActivity
public function executeActivity(CBPActivity $activity, $arEventParameters = array()) { if ($activity == null) throw new Exception("activity"); if ($activity->executionStatus != CBPActivityExecutionStatus::Initialized) throw new Exception("InvalidExecutionState"); $activity->SetStatus(CBPActivityExecutionStatus::Executing, $arEventParameters); $this->AddItemToQueue(array($activity, CBPActivityExecutorOperationType::Execute)); }