Метод getSystemAiAgentCode
Сигнатура метода
public function getSystemAiAgentCode(int $templateId): ?string
Возвращает:
?string
Описание
SYSTEM_CODE of a system AI-agent template (TYPE=Nodes with SYSTEM_CODE set), or null when it is not one: a launched copy (SYSTEM_CODE IS NULL), a system template of another type or a missing template.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Public/Provider/WorkflowTemplate/AiAgentProvider.php
Расположение метода в файле
Строки
141–144