Skip to main contentThe Vantage JavaScript interpreter supports ECMAScript 5.1 (ES5) and some other more recent standards (for more information, see here).
Data access
- Scripts can be used to write custom functions.
- Scripts cannot be used to send requests to databases other than Vantage data catalogs, access to which is provided using the Context interface.
- Scripts cannot be used to send requests to external services.
- The script does not support third-party libraries like JQuery.
- The Condition activity merely redirects transaction documents to the required workflow branch without modifying them. Hence, all data that your script accesses is only provided in read-only mode.
Limits on system resource use
Script rules are limited in how much memory and CPU time they can take up, as well as the number of code commands and recursion depth. This protects the system from performance drops and crashes. If your rule exceeds one of the limits, processing will be interrupted and an error will be displayed. The limit values are set by the system administrator when the ABBYY Vantage server is set up. Currently, the default limits are as follows:
- Memory. 10 MB
- Timeout threshold. 60 seconds
- Command limit. none
- Maximum recursion depth. 100
Object help
The following topics explain available objects and enumerators: