what is the difference between a loop and a repeat?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
what is the difference of using transformer in service & direct invoke of service?
3 Answers Cap Gemini, Siemens,
How to find dependents of a selected element on the server?
How to convert documentlist to document? If document list contain documents and documents contain strings field .how to convert?ple tell me any one.
Can we multi-select elements to lock or unlock in the Navigation Panel?
How to create a link between variables?
scenario: i have a loop A, under which i have a child loop B, under which i have a Branch with few services with a condition. if a condition is satisfied , then i need my branch to exit from loop B, what should i do?
what are extended settings?
Can u please tell me abt WebMethods in brief
what is difference between groups and ACL groups
In what folder is the webMethods documentation for Broker located?
What is the difference between DISABLING a Polling Notification and SUSPENDING a Polling Notification?
IS is thread or process ?