lessThan Function | Vantage CX - lessThan - Vantage Customer Experience

Vantage Customer Experience User Guide

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Vantage Customer Experience
Release Number
1.6
Published
October 2023
Language
English (United States)
Last Update
2023-10-26
dita:mapPath
hbt1563223944614.ditamap
dita:ditavalPath
oyf1565965838286.ditaval
dita:id
tmo1562969305444
Product Category
Teradata Applications

Returns true for numerical attribute value less than a given value. The lessThan function is used only within the context of the filter or is functions.

In the following criteria expression, the lessThan function returns true when the cart complex attribute has two items where the value for the price attribute is less than 1.25.

count(
    filter(
       get("Account.cart"),
       "price",
       lessThan(1.25)
    )
) == 2