Get Every Fifth Element from Collection

rpame

New Member
Hi. I have a Collection containing a bunch of data.
I wonder if its possible to filter it to get every fifth element of the collecation and append it to a new collection.
 

crazisingh

New Member
do you mean fifth row?

you can set a counter and loop through your main collection. Use a decision box, once the counter reach 5 create action to copy that row and append to your filtered collection, then reset the counter.
 
Top