Use Case for Comparing Attribute Values for Complex Category | Vantage CX - Use Case: Comparing Attribute Values for a Complex Attribute Category - 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

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