ExitForEach

ExitForEach

ExitForEach Overview

If you wish to exit a ForEach loop, but do not want EASYProcess to keep track of the loop index, ExitForEach can be used to stop the looping. This forgets the indexing so that if you would like to reference the SelectorValue again, you can do so without EASYProcess adding the automatic indexing.

For example, if the selector node is WorkData/Inquire, and you wish to exit the loop after two iterations out of the total five, any time you reference the node again, EASYProcess will turn it into WorkData/Inquire[1]. ExitForEach returns the reference back to WorkData/Inquire.