Adding an Assignment Diagram Element for a Flow
Functions
The assignment diagram element is for assigning values to variables. Variables can be common variables and object variables created in flows.
Using the Assignment Diagram Element
- On the flow designer, choose Logic and drag the Assignment diagram element to the canvas.
- Click the Assignment 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 Assignmentsequence 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 assignment diagram elementTable 2 Parameters for configuring an assignment diagram element Parameter
Description
Variable
Variable, which can be common variable, structure variable, or system variable.
Operator
Operator. Currently, =, +=, and -= are supported.
Value
Value of a common variable, struct variable, or system variable. You can also create a variable to obtain a value, or enter a constant based on the type.
If you enter a constant:
- Text type, which must be enclosed in double quotation marks, for example, "abc" and "He said Hi."
- Number and currency type. The value can be a valid number with symbols and decimal points, for example, 123.5, -12, and 12.3.
- The date format is YYYY-MM-DD, for example, 2020-10-01.
- The date and time format is YYYY-MM-DD hh:mm:ss, for example, 2020-10-01 12:00:00.
- Boolean type, which can only be true or false.
- Any type supports all basic types of formats.
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