1.0 - Use Case: Comparing Attribute Values for a Complex Attribute Category - Vantage Customer Experience

Vantage Customer Experience User Guide

prodname
Vantage Customer Experience
vrm_release
1.0
category
User Guide
featnum
B035-3800-099K

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

10000

Oct 1, 2010

Airline Miles

50000

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