Skip to Content
0
Aug 07, 2023 at 10:50 AM

How to store array of values in Content Modifier in SAP CPI

658 Views

Hi Team,

I am doing lookup with request-reply to SFDC and getting response xml. In response xml i am getting 4 Id field values but i have used exchange property to store this Id value and i get only 1st Id value in exchange property and rest 3 i am not getting it. I have attached Response Payload and Exchange property screenshot here. Could you please let me know how i can get multiple values in queue so that i can map them to target structure similar to what we do in PO when we get multiple values as result of Lookup.

So currently i use getProperty groovy script and pass this exchange propertyName as input to it to retrieve values assigned to exchageproeprty.

Pls Help.

image.png

image.png

Attachments

image.png (87.3 kB)
image.png (23.7 kB)