Show TOC

While ActionLocate this document in the navigation structure

Use

The While action executes an action or a block of actions until a specified expression evaluates to false. Since the test of expression takes place before each execution of the loop, a while loop executes zero or more times.

Syntax

While (Boolean-Expression)

Action-Block ...

Example

int index = 0

While (index <= PurchaseOrderSchema:order.itemCount)

 
 

Execute rule "CalculateDiscountsRule"

 

Assign index = index + 1