cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CPI-PI Loop for each XML Entry call API

rene_kramp1
Participant
0 Kudos
4,011

Hi Experts,

lets assume I've a XML Structure like:

<root>
<Entry id="1">98461823</Entry>
<Entry id="2">43243422</Entry>
...
<Entry id="n"></Entry>
</root> 

Now I want to call an API for each Number within the Entries and merge the results. What is best case to do so? I'm actually trying to do the Looping Process Call and try to fetch the results on a variable. Actually it doesn't work any suggestions? The Variable is declared with "write variables" outside the Loop with type Property.

View Entire Topic

Hi rene_kramp1,

you could use gather step with join all the response of all the api.

[Source Message] --> [splitter] --> [request reply -- api call] -> [gather]

does that help ?

thanks and regards,

Praveen T