Issue Mapping incoming Array from HTTP POST into Pega
SummaryThird 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 MessagesNot Applicable
Steps to ReproduceHTML form post using input element array. (Input name attribute repeated).
Root CauseA 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.
ResolutionMake the following change in the operations environment:
- The third party application should post a XML or JSON structure.
- This can then be parsed in the activity and mapped to the clipboard properly.
Published May 4, 2017 - Updated May 16, 2017