Skip to main content
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:

Object reference

Execution context and workflow

Documents and fields

Classification and validation

Image regions

Enumerators