Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Fetching Multiple values from index's on Common Response Component

edited Mar 17, 2021 10:44AM in Digital Assistant & Mobile 1 comment

Content

Hi All,

I am not able to capture the multiple index values in a single variable.I have attached the screenshot of issue.Please help me to troubleshoot  this issue.

Please refer the below yaml code.

 

askSize:
    component: "System.CommonResponse"
    properties:
      processUserMessage: true
      keepTurn: false
      variable: "a1"
      nlpResultVariable: "iResult" 
      useFullEntityMatches: true
      metadata: 
        responseItems:         
        - type: "text"  
          text: "${(res_attendeName?index)+1}.${res_attendeName.name}" 
          footerText: "Enter a number or tap your selection."
          separateBubbles: false
          iteratorVariable:  "res_attendeName" 
    transitions: 
      next: show_attend    
           
  show_attend:
   component: "System.Output"
   properties:
     text: " Ok , Your selected attendees is ${a1}"
   transitions: 
     return : "done"

 

Thank you

Version

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!