Метод getActivatedBy

public

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

public function getActivatedBy(int $templateId): ?int

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

Описание

Owner (ACTIVATED_BY) of a launched AI-agent copy (TYPE=Nodes, SYSTEM_CODE IS NULL); null when $templateId is not such a copy or carries no owner. Used to re-launch a freshly upgraded copy from its owner instead of the administrator who triggered the upgrade, so the onboarding start branch is attributed to the owner.

Параметры

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

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/Repository/WorkflowTemplate/AiAgentRepository.php
Расположение метода в файле
Строки 103–122

Исходный код

PHP