You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Writing stage file as arrays containing another array as appending/loop

Accepted answer
9
Views
1
Comments
edited Jul 8, 2019 4:02PM in Integration 1 comment

Summary

want to write a stage file as array which contains another array through a loop

Content

Hi All,

I have a requirement to save a following structure as an XML and then read it.

I have set of products and for each product there is  a set of attributes.

For this i get the list of products, and then by looping through the products using FOR-EACH, i am getting the attributes using another REST API call.

 

For this i tried to write the each loop outcome of product to a stage file along with the attribute with APPEND file option as an XML. And outside the loop i tried to read the same.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!