Composite

A composite diagram element is a combination of multiple diagram elements that an operator customizes for simplified operations.

Diagram Element

What are the differences between a composite diagram element and a Flow Transfer diagram element?

In a flow, input and output parameters can be defined by using composite diagram elements. That is, after the flow in a composite diagram element is executed, other steps in the original flow can be continued. After the flow is transferred, however, the current flow ends, and the data in the transferred flow can no longer be obtained to execute the original flow.

Parameter Description

  • Node Name: name of a node.
  • Description: details of a node.
  • Input Parameters: list of input parameters for the composite diagram element.
  • Output parameters: list of output parameters for the composite diagram element.

Using the Diagram Element

A composite diagram element can function as a specific sub-function module. You can use a composite diagram to combine operations frequently used in flows. If multiple flows use the same operations, you can use a composite diagram element to write the same operations. During orchestration of a complex flow, if the number of diagram elements exceeds 100, you can use composite diagram elements to store remaining operations of the flow.

Before creating a composite diagram element, you need to perform the following operations:
  1. Create a composite diagram element catalog. (A maximum of 100 catalogs can be added.)
  2. Enter the basic information about the composite diagram element, select a catalog for storing the diagram element, and edit its flow.
  3. Edit the composite diagram element canvas. After creating a composite diagram element, orchestrate its flow on the canvas based on the basic flow orchestration logic. You can use basic diagram elements to define a composite diagram element on the Resource > Complex Cell page.

Typical Application Scenario

The following describes how to use a composite diagram element to greet and interact with the robot.

  1. Sign in to the AICC and choose Configuration Center > Chatbot Management > Flow Configuration.
  2. Add a composite diagram element.

    1. Choose Resource > Complex Cell, click the Composite Diagram Element Catalog tab, and click .
      Figure 1 Page for adding a composite diagram element catalog

    2. Click the Composite Diagram Element tab and click .
      Figure 2 Page for adding a composite diagram element
    3. Click Edit Canvas in the Operation column to orchestrate the composite diagram element.

  3. 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.
      Figure 3 Flow variables to be added
      Figure 4 Flow orchestration example (composite diagram element)

      Set the input parameter of the composite diagram element to FLOW.answer to transfer the customer answer to the composite diagram element.

    3. Save and publish the flow.

  4. Choose Intelligent Chatbot and bind the flow to a robot.
  5. 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. If the dialog with the robot is normal, the composite diagram element is configured successfully.