Test Input Value Incorrect

Certified Associate Developer

Any idea why the input value is not recognizing the array?

I've tried with/without the comma, but Appian is still saying there is only 1 item in the list.

  Discussion posts and replies are publicly visible

Parents
  • +1
    Certified Lead Developer

    If you want to hardcode arrays then you'll need to write them as arrays. {3, 2}  //  {"AA", "BB"}, etc.

    If the Appian doesn't see the array-indicating curly brackets in the expression box, the parser has no way to understand that the information it's seeing is supposed to be the first value of an array, and will instead assume you meant to provide an array of 1 element (hence just "AA", etc).

Reply
  • +1
    Certified Lead Developer

    If you want to hardcode arrays then you'll need to write them as arrays. {3, 2}  //  {"AA", "BB"}, etc.

    If the Appian doesn't see the array-indicating curly brackets in the expression box, the parser has no way to understand that the information it's seeing is supposed to be the first value of an array, and will instead assume you meant to provide an array of 1 element (hence just "AA", etc).

Children