Skip to main content

Syntax

executeFlow(config)

Description

Executes a target Flow starting from a specified Entrypoint Node. The behavior is controlled by config.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 call resetNextNodes() before calling executeFlow().
Only Nodes marked as Entrypoint in the target Flow can be used. Parameters:
  • config: IExecuteFlowNodeConfig โ€” the IExecuteFlowNodeConfig configuration object that specifies the configuration for the Flow execution.
Returns: Promise<void>

Example

Last modified on November 3, 2026