Updated on 2024-10-12 GMT+08:00

Global Variable (GLOBAL)

To define a variable that can be used in different flows, you can add a global variable, for example, Param1, under Resource > Variable.

The following variable data types are supported:

  • Integer
  • Character
  • Long integer
  • Floating-point number
  • List
  • Object

You can use this variable in the flow variable definition area and Semantic Recognition, Interface Invoking, and Robot Reply diagram elements. The format is as follows:

GLOBAL.Variable name

Example: GLOBAL.Param1

In the attribute names in the response, the data type of the value that you assign to the parameter must match the data type set in the Variable Management. If the value is of the character type, you need to add quotation marks.