EXIT-LOOP

ExitLoop establishes a condition that if true, will discontinue the loop. The system will exit the loop based on the IF condition resulting to true.

EXIT-LOOP Elements/Attributes
TYPE = EXITLOOP
Element Attributes Attribute Value Element Value

<MathVariable>

TYPE

EXIT-LOOP

There is no element value needed.

  LOG

Yes:  the result is stored in AsActivityMath table to be used by other activities.

No: the result is not stored. This is the default behavior.  

  IF Conditional statement to define when to end the loop. You may use previously defined Math Variables, literal hard-coded values, a combination of both, an d operators within the configuration of the condition.

XML Example

<MathVariable VARIABLENAME="ExitLoopWhen" 
 TYPE="EXIT-LOOP" IF="PaymentMethod = '03'"></MathVariable>

Go to Operators available for EXPRESSION writing to see what operators you may use for creating Expressions.