Subflow

This diagram element is used to transfer the current flow to the specified node of another flow for execution.

Diagram Element

Parameter Description

  • Node Name: name displayed on the diagram element, which can be customized.
  • Description: details of a node.
  • Target Flow: code of a target flow. You can select an existing flow from the drop-down list, including flows that are not published. This parameter is mandatory.
  • Target Node: ID of a target node. You can select a node in the selected flow from the drop-down list. If this parameter is left empty, the flow is executed from the Start node of the selected flow.

Using the Diagram Element

The Subflow diagram element is used to associate the flows that are split from a long and complex flow. It is also used when all or part of the steps in other flows can be reused. Note that it cannot pass parameters. To pass parameters, use a composite diagram element.

Click the diagram element or drag it to the canvas, and select the desired subflow and node.

Typical Application Scenario

For details about how to use the Subflow diagram element, see Figure 2. The typical application scenario of the Call Ending diagram element involves the Subflow diagram element.