Метод executeWithPayload

public

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

public function executeWithPayload(ExecutionPayload $payload)

Описание

The two phases of a node served by the unified settings panel: its own logic first, the flow of its children after it. A node that closed and has a chain of children stays open instead and closes once the queue of that chain has drained ({@see self::close()}); every other status is returned untouched, so an asynchronous node goes on waiting exactly as it did. Everything an activity owning no such flow pays for this is the one flag read below. A false condition of the node never reaches here at all: it is answered before the activity is executed ({@see CBPWorkflow::runExecuteActivityOperation()}), so it skips the children together with the logic of the node. A node overriding this method runs no children: it is a node of type `operators` ({@see CBPStateNode}, {@see CBPMergeFlowNode}, {@see CBPForEachActivity}), and the unified panel serves none of those ({@see \Bitrix\Bizproc\Internal\Service\Activity\UnifiedPanelDescriptorProvider}).

Параметры

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

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

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

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

Исходный код

PHP