Support Article

Issue Mapping incoming Array from HTTP POST into Pega



Third party application is posting content to PRPC to run a specific activity using a form level input element array.

User sees that the post data is coming into Pega and mapped to the "Parameter Page" but the issues is that the third party application sends the data as "Arrays" and only the first element in that array is mapped to the "Parameter Page".

NOTE: User created this SR, based on the recommendation received to create an SR on the community:

Error Messages

Not Applicable

Steps to Reproduce

HTML form post using input element array. (Input name attribute repeated).

Root Cause

A third-party product issue.

Using form level input element arrays is not supported when calling an activity this way.

Pega does support form level input element arrays for mapping to the clipboard but that is handled in a specific way to map data to ListValue properties and so on.


Make the following change in the operations environment:
  1. The third party application should post a XML or JSON structure.
  2. This can then be parsed in the activity and mapped to the clipboard properly.

Published May 4, 2017 - Updated May 16, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.