ビジネス用語および値を比較する条件
数値またはブール値 (true または false)、日付、ビジネス用語、およびテキスト・ストリングを比較して操作する条件を作成できます。
以下のセクションで、ビジネス演算子を使用してデータを比較する方法を示します。
- starts with
テキスト演算子 starts with を使用すると、テキスト・ストリングが特定の文字列で始まるかどうかを判別できます。
if the customer’s maintenance number starts with “TX” then redirect the call to call center A;
- is more than
数値演算子 is more than を使用して、2 つの数値を比較することができます。
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> および before <date>
日時演算子 after <date> および before <date> を使用すると、2 つの日時を比較できます。
if the return date of ’rented car’ is after ’pickup date’ and before ’scheduled return date’ then...