Configuring the SRC-VTA to Run Scripts
The script runner processor can invoke external executable scripts or JavaScript programs. We recommend using JavaScript for better performance.
- External scripts are executable programs, such as shell scripts, that are available on the VTA’s host. Each external script can perform a task and return a value. If the script returns a value, the value can be added to the current event as an event attribute.
- JavaScript programs are used to process attributes of a VTA event. For example, it can convert a VTA event attribute in a timestamp to a date string and add it to the event as a new attribute. The attribute can then be used for subsequent actions, such as sending an e-mail notification to the subscriber. The JavaScript program can refer to any attributes of the event being processed, and it must return a value.
To configure the script runner processor:
- Configure a JavaScript program or an external script. See:
- Configure an action for the script runner processor. See:
