Метод releaseWorkflow

private static

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

private static function releaseWorkflow(string $workflowId): void

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

Описание

Drops the ownership row of a workflow that has ended. One indexed read over (TYPE, RESOURCE_ID) inside the registry answers whether the workflow was managed at all, so an unmanaged one finishes immediately. The result is knowingly not raised: an accounting failure must not stop a workflow from ending, and a row left behind is picked up by the reconciliation.

Параметры

1
Имя Тип По умолчанию Флаги
$workflowId string —
—

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

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

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

Исходный код

PHP