Repeat objects will repeat on error or on success. I have used repeat functions when trying to reach systems and when failing to do so, would sleep the thread for five minutes and then “repeat”.
This will put the code in an endless loop unless you put in an exit after “n” number of times (of which you have to count).
In your case, the repeat object is probably set to repeat on failure until you reach the specified number of times.
Keep in mind, that the number you set is n + 1. So, if you set it to repeat 999 times, the repeat will run 1000 times. The original + 999.
Hope that sheds a bit of light.
Ray
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB