Hi,
Connect your array to a for_each compound. Inside that, right-click and make the array connection into an iteration target. Delete the max_iterations port (or set it to a large number). Use an if node to test whether the current value from the array is 0. If it is, pass it through unchanged. Otherwise, change it in some way.
I hope that helps,
gray