Метод startChildFlowOnce

private

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

private function startChildFlowOnce(): bool

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

Описание

The one point the chain of children of a node is started from, whichever of the two phases reaches it: the logic of the node closing right away ({@see self::executeWithPayload()}) or a node that closes later marking itself completed ({@see self::markCompleted()}). Three things have to hold, and the first of them is all an ordinary activity ever reads: - the node runs children at all; - this execution really reached the logic of the node - a node the engine skipped over a false condition or a deactivated node never did, and skips the chain together with the logic; - the chain has not run yet. The drained queue closes the node through the very same marking, and that closing must not start the chain all over again. The flag of the last one belongs to the traversal and is set by its own entry point, so that a node whose whole execution is the flow of its children marks itself as well: such a node carries the same verdict of the descriptor and would otherwise be restarted from its closing.

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

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

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

Исходный код

PHP