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

How do I iterate same Collection multiple times?

edited Apr 26, 2017 7:00AM in Integration 3 comments

Summary

How do I iterate same Collection multiple times?

Content

I have 2 collections let me call it as  ListOfFirstRecords and ListOfSecondRecords. I want to iterate ListOfSecondRecords inside ListOfFirstRecords. I am using forEach in ICS for this purpose. But after the first full iteration of ListOfSecondRecords, ie when counter=2 for  ListOfFirstRecords, I am not able to iterate ListOfSecondRecords again. It seems  collection cannot be iterated again. Any tips to overcome this?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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