Метод preflightCallScoringV2Limits

private

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

private function preflightCallScoringV2Limits(int $activityId): ?array

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

Описание

Synchronously launches the SelectCallScoreScript step so that AI request-limit errors (which carry sliderCode in customData) reach the client and trigger the limit slider — the same UX as FILL_FIELDS_SCENARIO has via PipelineExecutor. The bizproc activity CBPCrmGetCallAssessmentActivity reuses the pending job we create here. Returns the errors to surface, or null if no pre-flight action was needed / it succeeded.

Параметры

1
Имя Тип По умолчанию Флаги
$activityId int —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/controller/timeline/ai.php
Расположение метода в файле
Строки 936–983

Исходный код

PHP