Conditions that compare business terms and values

You can build conditions that compare and manipulate numeric and boolean (true or false) values, dates, business terms, and text strings.

The following sections show how to use the business operators to compare data:

starts with

You can use the text operator starts with to determine whether a text string starts with a specific sequence of characters:

if 
	the customer’s maintenance number starts with “TX” 
then 
	redirect the call to call center A; 
is more than

You can use the numerical operator is more than to compare two numerical values:

if 
	the purchase value of the shopping cart is more than $100 
then 
	apply a 10% discount to the value of the shopping cart 
after <date> and before <date>

You can use the date and time operators after <date> and before <date> to compare two dates:

if 
	the return date of ’rented car’ is after ’pickup date’ and before ’scheduled return date’ 
then...