what is the difference between a loop and a repeat?

Answers were Sorted based on User's Feedback



what is the difference between a loop and a repeat?..

Answer / pradeep

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.

Is This Answer Correct ?    23 Yes 3 No

what is the difference between a loop and a repeat?..

Answer / ravi giduthuri

Loop & Repeat both are used to execute child steps more
than one time. But here Loop iterates on array List and
Repeat iterates on Count.

Is This Answer Correct ?    16 Yes 3 No

what is the difference between a loop and a repeat?..

Answer / amar desai

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

Is This Answer Correct ?    16 Yes 6 No

what is the difference between a loop and a repeat?..

Answer / nagababu

there is anther difference is
loop flow step properties are in property panel :
1.comment:- this is optional
2.scope:- this is optional
3.timeout:- this is optional
4.label:- this is optional
5.input array:- this is required. we should pass a variable
that variable type is arry(String list/document list/ object list). loop iterates value of array items.
6.output array:- this is optional.
Repeat flow step properties are in property panel :
1. comment:- this is optional.
2. scope:- this is optional.
3. timeout:- this is optional.
4. label:- this is optional.
5. count:- required. specified how many times executes child steps.
6. repeat interval:- this is optional.
7.repeat on :- required. based on the execution of child steps this property.(success/failure).

Is This Answer Correct ?    6 Yes 2 No

what is the difference between a loop and a repeat?..

Answer / vijayakumar

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

Is This Answer Correct ?    20 Yes 19 No

Post New Answer

More WebMethods Interview Questions

why are you deploying the war (or) ear file?

1 Answers   TCS,


What Is a Shutdown Service?

2 Answers  


can any one please post Q and Ans for Trading Networks in webMethods

0 Answers   TCS,


when u use REPEATE,EXIT flow steps?

1 Answers   Cap Gemini, LG CNS, Xavient,


What Is Data Validated Against?

1 Answers   CTS,






How to Change the Order of Steps in a Flow Service?

1 Answers  


can we build loop step with in the branch in such a way that the interface is look like that branch <transactiontype > sequence: Deposit loop <accno> xxxxxx sequence: current loop <accno> xxxxxxx sequence: savings loop <accno> can we achieve the above senario.

0 Answers  


gate ways in webmethods

4 Answers   IBM,


When and why should we use transformers and flow services? How are they different from each other?

9 Answers   Cap Gemini,


what are the functions or operations support 'WSDL"

1 Answers   CSC,


i am having a csv file and it is passed to the tokenize and is passed to the three different fields without setting the indices property. my question is to which variable which value goes or all the tokenized fields tobe passed? for eg:santosh.giridhar_satish_satish.csv-->tokenize what will happen

3 Answers   Mphasis, TCS,


i have partner A,and partner B, then i want to send a document to partner B, what are requirements i will provide to partners ?

1 Answers   IBM,


Categories