Application DesignAdvanced 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.

  • Set to -1 for unlimited iterations.

  • Set to 0 for no iterations.

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.

Property Description
Logical Operator

If the rule criteria include more than one condition, how to combine the results of the conditions to produce a result of true or false.

  • AND: Combine the results of the conditions using logical AND operations. The rule action is performed only if all of the conditions are true.
  • OR: Combine the results of the conditions using logical OR operations. The rule action is performed if any of the conditions are true.
Data Ref to Test

You can select from the following for a data ref.

Operator

The operator to use when evaluating or comparing the data ref and the value for a condition.

  • Equals
  • Not Equal
  • Equals Ignore Case
  • Not Equal Ignore Case
  • Less Than
  • Greater Than
  • Is Missing
  • Is Not Missing
  • Is Empty
  • Is Not Empty

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

Property Description
Logical Operator

If the rule criteria include more than one condition, how to combine the results of the conditions to produce a result of true or false.

  • AND: Combine the results of the conditions using logical AND operations. The rule action is performed only if all of the conditions are true.
  • OR: Combine the results of the conditions using logical OR operations. The rule action is performed if any of the conditions are true.
Data Ref to Test

You can select from the following for a data ref.

Operator

The operator to use when evaluating or comparing the data ref and the value for a condition.

  • Equals
  • Not Equal
  • Equals Ignore Case
  • Not Equal Ignore Case
  • Less Than
  • Greater Than
  • Is Missing
  • Is Not Missing
  • Is Empty
  • Is Not Empty

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.