Метод hasDirectCreationBarrier

private static

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

private static function hasDirectCreationBarrier(ManagedAgentResourceType $type): bool

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

Описание

Whether a resource of this type passes a barrier of its own before it appears, which is what a producer outside the lifecycle of a registered workflow requires. A workflow is registered by the creation event before its state exists, a schedule row inside the transaction that saves it. The remaining types appear synchronously inside a registered workflow or are written by the operation itself, therefore they have no barrier of their own.

Параметры

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

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

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

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

Исходный код

PHP