API Management

Get Involved. Join the Conversation.

Topic

    Geetha Devi
    How to print array of values as text format using the...
    Topic posted October 25, 2019 by Geetha DeviBlue Ribbon: 750+ Points 
    19 Views, 1 Comment
    Title:
    How to print array of values as text format using the iterator variable in ODA?
    Summary:
    I would like to print the array of values from custom component in Oracle chatbot
    Content:

    Below YAML code to print the list of values in the array from a custom component using the user interface component "System.CommonResponse"

      PrintExp:
        component: "System.CommonResponse"
        properties:
          processUserMessage: false
          keepTurn: false
          nlpResultVariable: "iResult"      
          metadata: 
            responseItems:         
            - type: "text"  
              text: "Expense Details "
              actions:
              - label: "${Expensedet.ExpenseName}"
                type: "postback"
                payload:
                  action: " "
                iteratorVariable: "Expensedet"  
        transitions: 
           return: "done" 

    Here I would like to print each link as a text format. Could anyone please help with this? Appreciate if anyone could help us here

     

     

    Image:

    Comment