Rule Validation V2
This diagram element is used to verify the customer input or output based on rules.
Diagram Element
Parameter Description
- Variable to be Verified: Enter the variable corresponding to the parameter to be verified, for example, IVRREQUEST.input.
- End of Special Key: Specify the end character of the parameter to be verified. The options are as follows:
- With #
- With *
- With # or *
- Without special keys
- Contains Characters: Specify the characters that can be contained in the parameter to be verified. You can select multiple values. The options are as follows:
- Matches numbers
- Matches uppercase letters
- Matches lowercase letters
- Matches letters, digits, and underscores (_)
- Empty character
Verification Rules
- Name: Select a verification rule. The options are as follows:
- Minimum Length
- Maximum Length
- Length Range
- Min.
- Max.
- Value Range
- URL
- Time Format
- Decimal Number
- Positive Integer
- IP Address
- Alphanumeric Underscore (not starting with a number)
- Rule Parameters: Enter rule parameters. Variables are supported.
Condition Branch Description
Condition Branch |
Description |
Usage |
---|---|---|
SUCCESS |
Successful verification |
Triggered when the verification is successful. |
FAILED |
Verification failure |
Triggered when the verification fails. |
SYSERROR_INNER |
ODFS internal error |
Triggered when an unknown error occurs in the ODFS. If no option is selected, the flow goes to the exception handling flow. |
Using the Diagram Element
This diagram element is used to verify the customer voice or keyboard input based on rules.
Click the diagram element or drag it to the canvas, and set parameters based on the parameter description.
Typical Application Scenario
The following describes how to use the Rule validation V2 diagram element to verify whether the customer input is a valid date.
- Sign in to the AICC and choose .
- Configure an intelligent IVR flow.
- Choose and click New to add a simple flow.
- Click + in the Flow Variable area. In the dialog box that is displayed, set the variable name and data type. The default value of the variable will be played to the customer.
Figure 2 Add VariableFigure 3 Flow orchestration example (Rule validation V2 diagram element)
- Select the reply text SUCCESS for the Robot Reply diagram element of the SUCCESS condition branch, indicating that the time meets the format requirements.
- Select the reply text FAILED for the Robot Reply diagram element of the FAILED condition branch, indicating that the time does not meet the format requirements.
- Save and publish the flow.
- Choose and bind the flow to a robot.
- Choose
. In the last column corresponding to the robot, click Test Call.In the test dialog box that is displayed, click Start Call to test the robot. If the robot answers SUCCESS or FAILED based on the time entered by the customer, the configuration is successful.Figure 4 Testing the robot
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