How do you force a LOOP to get the next record in the inArray?
If I am understanding your question correctly, to make the loop stop and start again at the next record you will need to put all the code in a sequence under the LOOP and then put in an
EXIT from $parent signal SUCCESS
This stops the code and exits the sequence so the next iteration of the loop can be done