Date Processing

Appearance

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Offset Period
    • By month
    • By hour
  • Source Character String: variable of the string that has been defined and assigned a value in the previous flow. The string format is yyyyMM for offsetting by month and yyyyMMddHHmmss for offsetting by hour. For example, "201903" said by a customer can be transferred using a variable.
  • Target Character String: variable of the correct string after time conversion. This parameter is usually set to a flow variable.
  • Number of Offsets: mode of converting the source month.

Using the Diagram Element

The Date Processing diagram element is used when the relative time expressed by a customer needs to be fuzzily processed.

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 Date Processing diagram element to offset the month said by a customer backward by one month.

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

    1. Choose Flow Management > Flow Orchestration and click Add 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. The default value of the variable will be played to the customer.
      Figure 1 Flow variables to be added
      Figure 2 Flow orchestration example (Business Interface Invocation diagram element)

      In this example, the Business Interface Invocation diagram element does not invoke an interface. Instead, it is used to assign values to parameters.

      Figure 3 Flow orchestration example (Date Processing diagram element)
    3. Save and release the flow.

  3. Choose Chatbot Management and bind the flow to a chatbot.
  4. Choose Chatbot Management. In the last column corresponding to the chatbot, click Test Call.

    In the test dialog box that is displayed, click Start Call to test the chatbot. If the chatbot offsets the month entered by the customer one month backward, the configuration is successful.
    Figure 4 Testing the chatbot