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
- APIs have been encapsulated in BOs. For details, see Customizing APIs.
- The BO to be called has been added to the application. For details, see Configuring Application Dependencies and Openness.
Using the BO Diagram Element
- On the flow designer, choose BO and drag the desired BO diagram element to the canvas.
- 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.
- Click
and complete the configuration.
Figure 1 Configuring the BO diagram elementTable 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot