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.
- Obtain the name of the script that populates the attribute from your Vantage CX administrator and place in /etc/artim/scripts.
- 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.