Skip to main content

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.

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.

Data access

Scripts can define custom functions and access Vantage data catalogs through the Context 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:
RestrictionDefault limit
Memory10 MB
Timeout threshold60 seconds
Command limitNone
Maximum recursion depth100

Object reference

Execution context and workflow

Documents and fields

Classification and validation

Image regions

Enumerators

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.