My Oracle Support Banner

CommonResponse in OMCE ODA chatbot returns only 3 values (Doc ID 2510203.1)

Last updated on NOVEMBER 29, 2019

Applies to:

Mobile Cloud Enterprise - Version 17.4.1 and later
Information in this document applies to any platform.


We are using the CommonResponse to show a list of values stored in an array. Array in use:

  "provincias": [
      "valor": "1",
      "nombre": "San José"
      "valor": "2",
      "nombre": "Alajuela"
      "valor": "3",
      "nombre": "Cartago"
      "valor": "4",
      "nombre": "Heredia"
      "valor": "5",
      "nombre": "Guanacaste"
      "valor": "6",
      "nombre": "Puntarenas"
      "valor": "7",
      "nombre": "Limón"


The commonResponse codes:

  component: "System.CommonResponse"
  processUserMessage: true
  variable: "provincia"
  - type: "cards"
  cardLayout: "horizontal"
  - title: "Seleccione la provincia:"
  - label: "${provincias.nombre}"
  iteratorVariable: "provincias"
  type: "postback"
  action: "upgrade"
  provincia: "${provincias.valor}"
  provinciaMostrar: "${provincias.nombre}"
  transitions: {}


This works as expected using the Test feature. But when we use it in the website, it only shows 3 values. We also tried testing the WebChannel using localhost but the problem is the same.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.