Метод shouldRelaunch

public static

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

public static function shouldRelaunch(Result $existingResult, StepContext $context): bool

Возвращает: bool

Описание

Determines whether a successful existing result must be ignored and the step re-launched. Default: no — an existing successful result shortcircuits the step. Override in subclasses that support manual re-run with new parameters (e.g., ScoreCall with a different assessmentSettingsId).

Параметры

2
Имя Тип По умолчанию Флаги
$existingResult Result —
—
$context StepContext —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/integration/ai/operation/abstractoperation.php
Расположение метода в файле
Строки 269–272

Исходный код

PHP