Advanced Block: Do-While Repeat
Repeat an action as long as specified conditions continue to be true or the max iterations have been run.
Tip: Before you can add a component block to a business rule, you must create a component set by specifying a trigger that controls when component blocks in the component set are run.
Property | Description |
---|---|
Row Key | Allows the user to specify a key in the map for a row list entry. The loop will execute for each row in the row list. |
Max Iterations |
A numeric value used to limit the total number of iterations of the loop. It is used if you want to make sure a loop doesn't accidentally run for too long.
|
Before Loop Criteria
Build a conditional expression that is evaluated before the loop is executed. If it is not enabled, then it is not evaluated.
After Loop Criteria
Build a conditional expression that is evaluated after the loop is executed to determine if the loop should be run again. If it is not enabled then it is not evaluated
Rule Action
The list of component blocks to be run based on the resolution of the rule criteria.
Tip: You can add a component block by dragging it from the Insert tab dropping it onto a Drop block here marker within this component block.