Метод runEnable
Сигнатура метода
private function runEnable(ManagedAgentIdentity $identity, int $userId, SystemAiAgentActivationParameters $activation): SystemAiAgentLifecycleResult
Возвращает:
SystemAiAgentLifecycleResult
Описание
Body of the enabling algorithm under the lock: it parses the state of an existing instance, or resolves the source and creates a new one.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$identity
|
ManagedAgentIdentity
|
—
|
—
|
$userId
|
int
|
—
|
—
|
$activation
|
SystemAiAgentActivationParameters
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки
455–508