Updated on 2023-09-20 GMT+08:00

Parameters

The variables are set as follows:

  1. Move the cursor to the text box for variable input, and select a prefix of the desired variable that is associated by the text box.

    • FLOW: flow variable, which is valid only in one flow.
    • GLOBAL: global variable, which needs to be preset by choosing Resource Management > Global Variable and is valid in the entire session instance of a flow.
    • SYS: system variable, which is preset and usually obtained from public data in the system and sessions, such as the system time and access code.
    • TOC: intention variable. Parameters returned by the Semantic Recognition diagram element are valid only for the diagram element. If you want to use the parameters later, assign values to flow variables and transfer them to subsequent nodes.
    • IVRREQUEST: IVR request variable, which is transferred using the OIAP dialog interface when the IVR flow invokes an intelligent flow.
  2. Manually enter a period (.) after the selected prefix, move the cursor to the period, and select a desired parameter from the associated parameters.

    If the input parameter is valid, it is displayed in green or blue.

What do different colors of input parameters mean?

  • Red (): The input format is incorrect. For example, a text box allows only string-type variables or constants, but integer-type variables are specified. Alternatively, the text box does not support variable expressions.

    After strict validation is disabled, some simple variable calculations can be performed based on the Java syntax. Even if an error is reported on the GUI, the variables can still be used as long as they can be saved. To disable strict validation, choose Flow Management > Flow Orchestration, click Settings in the upper right corner, and set Strict validation to Disabled.

  • Blue (): The input parameter is a valid variable of other types.
  • Green (): The input parameter is a valid flow variable.
  • Yellow (): The input parameter is a valid string constant. If the input variable is incomplete or the variable that is manually entered does not exist, the system identifies the variable as a string constant.
  • Purple (): The input parameter is a valid numeric constant.