You could try a for each loop.
Then when it is completed send it to whatever finalized variable you want.