Qus:    What is the difference between a loop and a repeat?
Jul 01, 2013 15:45 webMethods 1 Answers Views: 3601 Ansari
Prev Next
Answers (1)
Ansari Jul 01, 2013 15:45
Answer:  

 


1) For Loop we need to give the input as document. for repeat we need to give the input as number

2) Along with above answer, ideally loop will exit by default after completing all iterations corresponding to no.of documents in document list.

repeat will exit onfaiulre/sucess condition

3) Loop and Repeat both are used to execute child steps.

Repeat : Repeat is a conditional based flow step. The execution of child steps will be depends on "REPEAT ON" value( SUCESS / FAILURE in property panel).

Loop : You should perform a loop operation on array of items(String list/Document list/Object list). Loop operation process each and every array element in the array. you have to give the input array value.

Post Your Answer
Guest User

Not sure what solution is right for you?

Choose the right one for you.
Get the help of the experts and find a solution that best suits your needs.


Let`s Connect