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, the current Flow doesn’t continue.
config
:IExecuteFlowNodeConfig
— theIExecuteFlowNodeConfig
configuration object that specifies the configuration for the Flow execution.
IExecuteFlowNodeConfig Object Structure
IExecuteFlowNodeConfig Object Structure
Promise<void>
Example
=== “Permanent Switch (isGoto = true
)”
isGoto = false
)”