How do I iterate same Collection multiple times?
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?
1