Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Data Table

Updated on 2025-01-23 GMT+08:00

This diagram element is used to search for configuration data. It is used with the Branch Judgement diagram element to determine which branch to go to or the next step to process data.

Diagram Element

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Data Table Name: name of the data table to be searched.
  • Search Page: page number of the data table to be searched. Enter an integer or a variable. If this parameter is left blank, the first page is searched by default. The page size is fixed at 10.
  • Search Criteria: condition for searching a data table.
    • If the field is of the character type, the operator can be =, >, >=, <, <=, !=, like, or in. If the field value is of the character type, it does not need to be enclosed in quotation marks. If the operator is in and the field value is of the list type, each list item must be enclosed in double quotation marks, for example, ["watermelon","apple"].
    • If the field is of the integer type, the operator can be =, >, >=, <, <=, !=, or in.
    • If the field is of the date type, the operator can be =, >, >=, <, <=, or !=. Set Field Value to a timestamp, in milliseconds. A value or variable of the character type or long integer type is supported. A value or variable of the character type does not need to be enclosed in double quotation marks.
  • Return Records: variable for saving search results. Enter a variable of the list type.
  • Total: variable for saving the total number of search results. Enter a variable of the integer type.

Condition Branch Description

Table 1 Condition branch description

Condition Branch

Description

Usage

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

The Data Table diagram element is used when you need to search a customized data table for data.

Click the diagram element or drag it to the canvas. Select a data table and add search conditions.

Typical Application Scenario

Use the Data Table diagram element in an IVR flow to search for the milk brand, price, and inventory.

The following describes how to use the Data Table diagram element to search for data and then process the data.

Query data records with milkCount being greater than 10 from the milkInfo table. If the condition is not met, the robot returns a message indicating that no such data record is found. If the condition is met, the robot returns the total number of such data records, data records on the first page that meets the condition, and milkName of the first data record.

Prerequisites

You have added a data table by referring to Adding Data Tables, as shown in the following figure.

Figure 1 Table fields
Figure 2 Table data

Procedure

  1. Sign in to the AICC and choose Configuration Center > Chatbot Management > Flow Configuration.
  2. Configure an intelligent IVR flow.

    1. Choose Flow > Orchestration and click New to add a simple flow.
    2. Click + in the Flow Variable area. In the dialog box that is displayed, set the variable name and data type.
    3. Save and publish the flow.
      Figure 3 Flow variables to be added
      Figure 4 Example of data table diagram element configuration
      Figure 5 Example of branch judgment diagram element configuration
      Figure 6 Flow orchestration example

  3. Choose Intelligent Chatbot and bind the flow to a robot.
  4. Choose Intelligent Chatbot. 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.

    NOTE:

    Only 10 data records on the specified search page are queried. If no search criteria are specified, the first page is queried by default.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback