Script restrictions
Vantage’s JavaScript interpreter supports ECMAScript 5.1 and selected later features. For more information, see the Jint ECMAScript features. Scripts can define custom functions, access Vantage data catalogs through theContext interface, and send requests to external services through the Context interface.
Scripts cannot:
- Send requests to databases other than Vantage data catalogs.
- Use third-party libraries such as jQuery.
Error handling
- If a syntax error is detected in the script, the Custom activity transaction is interrupted. The error is visible in Skill Monitor.
- If an exception is thrown while the script runs, both the script and the transaction are interrupted. The error is visible in Skill Monitor.
- If a program exception is caught with
try/catch, error handling is whatever your script does.
