Метод extractAssessmentIdFromSelectScriptResult

private

Сигнатура метода

private function extractAssessmentIdFromSelectScriptResult(array $arEventParameters = []): ?int

Возвращает: ?int

Описание

The AI result carried by the event is the primary source, because this activity is woken by the very ai:onQueueJobExecute event that CRM uses to persist the job result, and the handler order on that event is undefined. Reading the job row alone reports a not-yet-persisted PENDING row as a failed selection and cancels the whole workflow. The row stays as a fallback for a resume that carries no result object.

Параметры

1
Имя Тип По умолчанию Флаги
$arEventParameters array []
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/install/activities/bitrix/crmgetcallassessmentactivity/crmgetcallassessmentactivity.php
Расположение метода в файле
Строки 570–610

Исходный код

PHP