Parameters
Parameters can be set for other diagram elements except Start and Flow transfer diagram elements. Two types of parameters are preset in the system, that is, system variables and slot variables in intentions. You can directly enter a system variable in a text box. You need to add a specified prefix to a slot variable in a text box.
The variables are set as follows:
- 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 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.
- Manually enter a period (.) after the selected prefix, move the cursor to the period, and select a desired parameter from the associated parameters.
- System Variable (SYS)
In general, preset system variables are obtained from the public data such as the system time and access code in the system environment and session. - Intention/Slot Variable (TOC)
You can use a parameter for value assignment or judgment in the semantic recognition service diagram element. This parameter is valid only in the current diagram element. If you want to use it in subsequent diagram elements, define a flow variable and assign a value to it. The following table describes the flow variables. - 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. - Flow Variable (FLOW)
A cache variable that you add to a flow is called a flow variable. The variable can be used in the subsequent nodes of the flow. - IVR Request Variable (IVRREQUEST)
The OIAP provides IVR interfaces for the IVR to invoke. Therefore, during flow orchestration, fields in IVR requests can be directly used as variables.
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