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