CodeExplorer ExecuteSequenceException example
$state =
new FlowState();
$event->
setFlowState($state);
$state->flowId =
$flow->
getId();
foreach ($flow->
getSequences() as $sequence) { $state->delayed = false;
try { $this->
executeSequence($sequence,
$event);
} catch (\Exception
$e) { throw new ExecuteSequenceException($sequence->flowId,
$sequence->sequenceId,
$e->
getMessage(),
$e->
getCode(),
$e);
} if ($state->stop
) { return;
} } } public function executeSequence(?Sequence
$sequence, StorableFlow
$event): void
{ if ($sequence === null
) {