Метод syncByTemplate
Сигнатура метода
public function syncByTemplate(int $templateId, ?array $triggers = null, ?bool $active = null): void
Возвращает:
void
Описание
Synchronizes scheduled triggers for the given workflow template.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateId
|
int
|
—
|
—
|
$triggers
|
?array
|
null
|
—
|
$active
|
?bool
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/Trigger/Schedule/ScheduledTriggerSyncService.php
Расположение метода в файле
Строки
28–39