Метод createBlocked

public static

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

public static function createBlocked(string $code): self

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

Описание

An external dependency accepted the operation and the resource is still there: the deletion of a bot was taken, the termination of a workflow was taken, the row of a schedule was dropped, and the resource answers as live all the same. The row stays and the pass is repeated, as with every continuation, but this one is not a portion of work this pass has done. Nothing about it changes by itself, therefore it is charged with the retry delay of the failures: without it the same question would be asked every few minutes forever, the counter of retries would never reach the warning about a record that got stuck and the record would keep the first place of every selection of the background pass.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/ManagedResourceCleanupResult.php
Расположение метода в файле
Строки 81–84

Исходный код

PHP