Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

Document Title: Orbita Symptom Triage Experience Solution

Solution Center Version: V 1.01.0

Creation Date:

Author:

Status
colourBlue
titleORBITA

...

  1. Copy the respective V2 or V3 bot code.

    1. Go to Experience Designer > Bot Manager Flow > Hamburger Menu > Import > Clipboard.

  2. The above import will add 4 nodes to the Bot Manager tab as shown below.

  3. Connect the nodes as described below screenshot:

    1. Add “http in” node with the “Post” Method to the “Orbita Detect” node.

    2. The first output pin of the “Route” function node should be connected to the “Bot provider v2” node.

    3. Disconnect the “http in” node with the “Post” Method and Bot Provider V2.

    4. Drag and drop a Link out node to the Bot Manager tab and name it.

    5. Connect the second output pin of the “Route” function node to the Link out node.

  4. Double click on the “Bot Provider V2” node and add the below code to the “Bot In Parser” section.

    Code Block
    var _ = global.get('lodash');
    const NAMESPACE = _.get(msg, 'orbita.session.NAMESPACE');
    let symptomValue = _.get(msg, 'orbita.session.${NAMESPACE}.symptomValue');
    if(symptomValue){
        _.set(msg, 'payload.originalRequest.data.symptomValue', 
        symptomValue);
    }
  5. Go to the “Modules Flows” tab

    1. Add a Link In node and name it.

    2. Connect the Link In node with the input pin of symptomstriage sub-flow.

      Image RemovedImage Added

    3. This “Link In” node should be connected to the “Link Out” node which you added in the “Bot Manager” tab.
      In the “Link In” node edit window, select the Link out node you added earlier.
      Refer

  6. Now Deploy the flow and validate it.

...