setFlowId example

$position = 1;

                $displayGroup = $t + 1;

                $sequenceCount = random_int(1, $maxSequencePerTree);

                $sequence = new FlowSequenceEntity();
                $sequence->setId(Uuid::randomHex());
                $sequence->setDisplayGroup($displayGroup);
                $sequence->setPosition($position);
                $sequence->setTrueCase(true);
                $sequence->setFlowId($flow['id']);
                $sequence->assign([
                    'ruleId' => null,
                    'actionName' => null,
                ]);

                $isRoot = true;

                for ($s = 0; $s < $sequenceCount; ++$s) {
                    $parent = $sequence;

                    $falseCase = null;

                    
Home | Imprint | This part of the site doesn't use cookies.