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:
Steps to Reproduce
HTML form post using input element array. (Input name attribute repeated).
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:
- 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.
0% found this useful