Метод terminal
Сигнатура метода
private function terminal(string $operation, ManagedAgentIdentity $identity, bool $journaled, SystemAiAgentErrorCode $code, ?string $internalCode, ?SystemAiAgentLifecycleOutcome $outcome, ?int $instanceId): SystemAiAgentLifecycleResult
Возвращает:
SystemAiAgentLifecycleResult
Описание
Terminal result of a pass that is a record of the journal only when the pass is the operation itself: a compensation of an enabling reports its own outcome instead.
Параметры
7| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$operation
|
string
|
—
|
—
|
$identity
|
ManagedAgentIdentity
|
—
|
—
|
$journaled
|
bool
|
—
|
—
|
$code
|
SystemAiAgentErrorCode
|
—
|
—
|
$internalCode
|
?string
|
—
|
—
|
$outcome
|
?SystemAiAgentLifecycleOutcome
|
—
|
—
|
$instanceId
|
?int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Service/SystemAiAgentLifecycleService.php
Расположение метода в файле
Строки
2114–2128