Метод writeActivitySkipTracking

private

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

private function writeActivitySkipTracking(CBPActivity $activity, string $skipReason): void

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

Описание

Journals a node the engine reached but did not run, naming the reason. Whether the record is kept at all is decided by the log settings of the portal, under the rule of the ExecuteActivity record this one stands in for ({@see CBPTrackingService::canWrite()}). The record replaces the whole Execute/Close pair: a skipped node journals no CloseActivity ({@see CBPActivity::markSkippedByEngine()}), otherwise the newer close record reads as "completed" and unbalances the level pairing of the dump.

Параметры

2
Имя Тип По умолчанию Флаги
$activity CBPActivity —
—
$skipReason string —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/classes/general/workflow.php
Расположение метода в файле
Строки 1072–1085

Исходный код

PHP