sum Function | Vantage CX - 1.4 - sum - 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)

Returns the sum of a set of values.

The following example returns true if the sum of the price attributes in the complex attribute category named cart is greater than 1.

) > 1

By default, the sum function accesses the most current data. The Session modifier enables the sum function to access the session data, which is all of the data in the active session. For example, the Session modifier accesses not only the current value for an attribute but all the previous values for that attribute in the session. Use the Session modifier to use a simple attribute with the sum function.