This page describes restrictions on Condition activity scripts and lists the objects and enumerators available in Vantage’s JavaScript environment. The Vantage JavaScript interpreter supports ECMAScript 5.1 and selected later features. For more information, see the Jint ECMAScript features.Documentation Index
Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
Use this file to discover all available pages before exploring further.
Data access
Scripts can define custom functions and access Vantage data catalogs through theContext interface.
Scripts cannot:
- Send requests to databases other than Vantage data catalogs.
- Send requests to external services.
- Use third-party libraries such as jQuery.
The Condition activity merely redirects transaction documents to the matching workflow branch — it doesn’t modify them. All data your script accesses is provided in read-only mode.
Limits on system resource use
Condition scripts are subject to memory, runtime, command-count, and recursion-depth limits to prevent runaway scripts. If a script exceeds any limit, processing is interrupted and an error is displayed. Defaults are set by your server administrator — current defaults:| Restriction | Default limit |
|---|---|
| Memory | 10 MB |
| Timeout threshold | 60 seconds |
| Command limit | None |
| Maximum recursion depth | 100 |
Object reference
Execution context and workflow
Documents and fields
Classification and validation
Image regions
Enumerators
Related topics
Condition activity
Split workflow based on custom conditions evaluated per transaction.
Sample scripts
Common patterns for checking rule errors and routing to manual review.
Context
Global object exposing the current transaction, document, and processing.
