Cloud Application Integration (On-Premises) : Service Development : Building Flow Services : The REPEAT Step : Setting the REPEAT Counter
Setting the REPEAT Counter
The REPEAT step’s Count property specifies the maximum number of times the server re-executes the child steps in the REPEAT step.
If you set “Count” to…
The REPEAT step…
0
Does not re-execute children.
Any value > 0
Re-executes children up to this number of times.
-1 or blank
Re-executes children as long as the specified Repeat on condition is true.
Important:  
Note that children of a REPEAT always execute at least once. The Count property specifies the maximum number of times the children can be re-executed. At the end of an iteration, the server checks to see whether the condition (that is, failure or success) for repeating is satisfied. If the condition is true and the Count is not met, the children are executed again. This process continues until the repeat condition is false or Count is met, whichever occurs first. (In other words, the maximum number of times that children of a REPEAT will execute when Count is > -1, is Count+1.)
Copyright © 2015- 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback