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.
- 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.