Use these operators to compare the integer or BigDecimal values associated with transaction metrics. Operators follow the attribute using dot notation, for example: currentUserGroup.numberOfTxns >= 10.
Operator
Definition
==
True if value equals the specified value
!=
True if value does not equal the specified value
>
True if value is greater than the specified value
>=
True if value is greater than or equal to the specified value
<
True if value is less than the specified value
<=
True if value is less than or equal to the specified value
isNull
True if the attribute value is null
isNotNull
True if the attribute value is not null
numberOfTxns
Use the numberOfTxns attribute to check the total number of transactions made by the group since creation.
Purpose
Track the group's transaction count.
Usage
Profile: currentUserGroup
Attribute: numberOfTxns
Data type: Integer
Syntax
currentUserGroup.numberOfTxns [Operator] [Value]
Examples
Example 1: Identify groups with at least 10 transactions.
currentUserGroup.numberOfTxns >= 10
Example 2: Target groups with exactly 1 transaction.
currentUserGroup.numberOfTxns == 1
Example 3: Check for groups missing transaction data.
currentUserGroup.numberOfTxns.isNull()
numberOfTxnsToday
Use the numberOfTxnsToday attribute to check the number of transactions made by the group on the current day.
Purpose
Track the group's transactions for the current day.