Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 6 Grouping Activities : Repeat Until True Loop

Repeat Until True Loop
The Repeat Until True loop repeats the series of grouped activities until the given condition evaluates to true. The activities are always executed once before checking if the condition is true. After executing the series of activities, the condition is checked, and the loop exits when the condition evaluates as true. The following is an example of a Repeat Until True loop.
The process performs the following operations:
1.
a.
b.
c.
For each iteration of the loop, the output of the QueryCustomer activity is placed into a variable named customerList.
2.
The condition evaluates the value of CustomerID/ID_num. The Customer ID activity outputs -1 when there are no more customers, so the condition examines the value and when it is -1, the loop can exit.
The following is the configuration for this example Repeat Until True loop:

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved