on 04-28-2020 2:59 AM
Hi,
I have a simple JSON data like below -
[{
"Name": "ABC"
},
{
"Name": "PQR"
}]
I will use iterative split in the mail flow and call a local IP where I will push the data to the target system REST API.
My question is what condition expression I can use in the looping process call?
Thanks in advance
Hi Sriprasad,
Thanks for your reply.
My input is an array of JSON data. My requirement is to split this and post in SFDC one at a time. Sample JSON is in my initial post.
So obviously there is no end condition here in the JSON data that I can use to incorporate looping process call.
If I will use a iterative splitter and then external call to post data to SFDC, will it post all data to Salse force or looping process call is the only option?
Thanks,
Apu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Apu,
You can use General splitter but it works only for XML and Plain data only so you could try something like :
JSON data --> Convert JSON-XML--->General Splitter ( with xpath path to split individual records)--->Convert XML to JSON ( if SFDC accepts XML format then this is not needed)--->Request-Reply ( To post individual record to SFDC)--->Read your response.
Thanks,
Manoj
User | Count |
---|---|
76 | |
10 | |
8 | |
6 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.