How to remove comma in the chatbot when using options(multi select) control in the Flow Studio

Problem

There is a comma that gets appended in the chatbot when rendering the options (multi-select control from the Flow Studio.

Scenario

In the Flow studio > options (multi-select) control > Directive tab > Checkboxes, select Yes or No

Solution

  1. Navigate to the Experience Designer.

  2. Double click on the Say node connected to the first pin of the Flow Manager node.

     

  3. Add the below code to the Text tab > Chat Text

    {{msg.payload.multiagent.chat.chatText}}

     

     

  4. Save and Deploy the flow.

The comma will not get appended in the chatbot.

 

Related articles