To define a condition in the WHEN statement, do the following:
Procedure
Click the green + button next to WHEN
to open the Add a condition to the rule dialog box.
Example
Select a class from the list, LoanSimulator in this
example, and then click OK.
Example
Click There is a LoanSimulator to open a dialog box and
set a variable name.
Example
In the Variable name field, enter a variable name,
customer in this example, and click
Set.
The variable name is written in the WHEN statement.
Example
Click There is a LoanSimulator customer to open the
Modify constraints dialog box.
Example
From the Add a restriction on a field list, select
age to add an age field to the
WHEN statement.
Example
From the logical operators list, select a logical operator, less
than in this example, and then click the pencil icon to open the
Field value dialog box.
Example
Click the New formula button to add a value field next
the logical operator, and enter 20 in the field.
Example
Click the arrow icon next to the value field to add another logical operator
list, select or greater than from the list, and set the
value to 70.
Example
What to do next
Then, in the THEN statement, select the action
(true or false) you want to take
and set the reason for the selected action.
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!