Метод startWithOperationMarker

private

Сигнатура метода

private function startWithOperationMarker(ManagedAgentIdentity $identity, int $templateId, int $userId): AiAgentStartResult

Возвращает: AiAgentStartResult

Описание

Starts the copy with the one time marker of the current operation in its start parameters. The marker authorizes exactly one start while the instance is still being created. It travels as a start parameter of the template, so the barrier of the registry finds it among the top level parameters of the workflow and consumes it there before the workflow is initialized: the marker is never persisted.

Параметры

3
Имя Тип По умолчанию Флаги
$identity ManagedAgentIdentity —
—
$templateId int —
—
$userId int —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки 1473–1486

Исходный код

PHP