Use Case for Comparing Attribute Values for Complex Category | Vantage CX - 1.4 - Use Case: Comparing Attribute Values for a Complex Attribute Category - Vantage Customer Experience

Vantage Customer Experience User Guide

Vantage Customer Experience
Release Number
Release Date
June 2021
Content Type
User Guide
Publication ID
English (United States)

In this use case, the following criterion uses a customer transaction profile to qualify a message.

These are the associated attribute values for the complex attribute category named transaction:

balance date name


Oct 1, 2010

Airline Miles


Oct 27, 2013

Hotel Points

The criterion qualifies the offer_a message for the customer when the following is true:

The complex attribute category named transaction contains balance ≥ 50000 and the date associated with the transaction is within the last 30 days.

Sample Criterion Expression Syntax

The following shows criterion expression syntax for qualifying a criterion based on customer transaction activity.
set("txAccount", get("Account.transaction")) &&
set("txFilter", filter(txAccount, "name", "Airline Points")) &&
set("tx", get(txFilter, 0)) &&
set("txBalance", value(get(tx, "balance"))) &&
set("txDate", get(tx, "date")) &&
txBalance >= 50000 &&
time(parseDate(txDate, "MMM D, yyyy")) > time(now) - 1000 * 60 * 60 * 24 * 30