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`)