Метод hasRestartTrigger
Сигнатура метода
public function hasRestartTrigger(int $templateId): bool
Возвращает:
bool
Описание
Whether the template has a registered restart trigger (a b_bp_workflow_template_trigger row with TRIGGER_TYPE = AiAgentRestartTrigger). This is the single branch discriminant used before start.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/AiAgentGrid/SystemTemplateActivationService.php
Расположение метода в файле
Строки
243–257