Updated on 2025-08-15 GMT+08:00

Adding a BO Diagram Element for a Flow

Functions

This type of diagram element encapsulates BO capabilities as a node in flows to implement specific service functions. APIs need to be encapsulated within BOs to enable their invocation in flows.

Prerequisites

Using the BO Diagram Element

  1. On the flow designer, choose BO and drag the desired BO diagram element to the canvas.
  2. Click the BO diagram element, click , and set basic information.

    Table 1 Parameter description

    Parameter

    Description

    Label

    Label of the diagram element, which is displayed on the flow design page. The system automatically assigns a value in a specific BOsequence number format, with the sequence number starting at 0 for each type of diagram element.

    Name

    Diagram element name, which must be unique in the current flow. The naming requirements are as follows:

    • Value: 1–80 characters.
    • Start with a letter and can contain letters, digits, and underscores (_). It cannot end with an underscore (_).

    Description

    Description of the diagram element.

    Value: 1–255 characters.

  3. Click and complete the configuration.

    Figure 1 Configuring the BO diagram element
    Table 2 Parameters for configuring a BO diagram element

    Parameter

    Description

    Service Version

    Version number of the API customized in the BO.

    API Type

    Select REST or SDK as required.

    Operation

    APIs defined in the BO. The API type must be flow so that the APIs can be called in flows.

    Input/Target

    After you select a specific operation method (API), the input parameters of the API are displayed in the Target column of the input parameters.

    Input/Source

    The type of variables in the flow must be the same as that of target parameters. This source assigns the variable values in the flow to the input parameters of the called API.

    Output/Source

    After you select an operation method (API), the input parameters of the API are displayed in the Source column of the output parameters.

    Output/Target

    The type of variables in the flow must be the same as that of output parameters. The output parameters of the API are assigned to the variables in the flow for use.