Specify Script That Populates Attribute | Vantage CX - Specifying a Script That Populates an Attribute - 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
The Vantage CX Wrapper is a scripting framework that your Vantage CX administrator can use to write scripts that contain custom business logic for use with Vantage CX. One of the capabilities of the Wrapper is to populate attributes sent with messages when Vantage CX responds to the channel.

For example, suppose that the Price attribute references a script named pricescript. For this use case, the purpose of the script is to make a call to an external pricing server to get the current price for a product so that Vantage CX has that price to use in criteria and decisioning.

Your Vantage CX administrator can also write Vantage CX Wrapper scripts that are not associated with message responses; those scripts are not referenced within the Vantage CX business user interface.
  1. Obtain the name of the script that populates the attribute from your Vantage CX administrator and place in /etc/artim/scripts.
  2. After you select attribute value type Script, type the name of the script in the Script Name field.

    You can type only one script name in the field, but multiple attributes can refer to the same script.

    • The script name is case-insensitive. Vantage CX does not validate whether the script exists when you type the script name.
    • It is not necessary to use the Attribute Script type to call the script when using Message Strategies in cases where an API connection is used to call a script using an API endpoint.