Syntax
executeFlow(config)
Description
Executes a target Flow starting from a specified Entrypoint Node. The behavior is controlled byconfig.flowNode.isGoto:
falseโ the target Flow runs temporarily, then returns to the current Flow.trueโ the target Flow runs permanently and doesnโt return to the current Flow. For this behavior, you must callresetNextNodes()before callingexecuteFlow().
config:IExecuteFlowNodeConfigโ theIExecuteFlowNodeConfigconfiguration object that specifies the configuration for the Flow execution.
IExecuteFlowNodeConfig Object Structure
IExecuteFlowNodeConfig Object Structure
Promise<void>Example
- Permanent Switch (
isGoto = true) - Temporary Run (
isGoto = false)