Posted: 26 Apr 2017 19:39 EDT Last activity: 26 May 2017 12:11 EDT
Mapping incoming Array from HTTP POST into Pega
Hi All ,
In our Pega application we have a link whcih users use to invoke a thrid party application and the users are navigated to that application .When we invoke the third party application we provide a call back URL of Pega to the thrid party application and once the user is done with the process in the thrid party application ,it makes a servlet call to Pega using the call back URL and using HTTP Post and sends some data which we need to show in Pega. We see that the post data is coming into Pega and mapped to the "Parameter Page" but the issues is that the third party application send the data as "Arrays" and only the first element in that array is mapped to the "Parameter Page" .I do see in the network that the thrid party application is sending arrays and there is no loss of information .Does pega use "getParameterValues" function while mapping the results from the servlet object .How can we overcome this isssue ?
***Moderator Edit: Vidyaranjan | Updated & tagged SR details***
My issue is more around mapping the POST data coming into Pega .For example,the data being sent to Pega is in arrays like "ItemDetails[Desktop,Laptop,Ipad] " but Pega maps to "ItemDetails" with the value as "Desktop" in the parameter page .Its not setting the entire array in the parameter page .
Posted: 4 years ago
Posted: 27 Apr 2017 8:47 EDT
Kevin Zheng (KevinZheng_GCS)
Director, Software Solutions Engineering