> ## 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.

# Object model

> Script restrictions and object model for Condition activity scripting in ABBYY Vantage.

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](https://github.com/sebastienros/jint#supported-features).

## Data access

Scripts can define custom functions and access Vantage data catalogs through the [`Context`](/vantage/documentation/skill-designer/process/condition-activity/context) interface.

<Note>
  Scripts cannot:

  * Send requests to databases other than Vantage data catalogs.
  * Send requests to external services.
  * Use third-party libraries such as jQuery.
</Note>

<Note>
  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.
</Note>

## 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

* [Context](/vantage/documentation/skill-designer/process/condition-activity/context)
* [Transaction](/vantage/documentation/skill-designer/process/condition-activity/transaction)
* [Processing](/vantage/documentation/skill-designer/process/condition-activity/processing)
* [Step](/vantage/documentation/skill-designer/process/condition-activity/step)

### Documents and fields

* [Document](/vantage/documentation/skill-designer/process/condition-activity/document)
* [Page](/vantage/documentation/skill-designer/process/condition-activity/page)
* [SourceFile](/vantage/documentation/skill-designer/process/condition-activity/source-file)
* [Field](/vantage/documentation/skill-designer/process/condition-activity/field)

### Classification and validation

* [ClassConfidence](/vantage/documentation/skill-designer/process/condition-activity/class-confidence)
* [RuleError](/vantage/documentation/skill-designer/process/condition-activity/rule-error)

### Image regions

* [Region](/vantage/documentation/skill-designer/process/condition-activity/region)
* [Rectangle](/vantage/documentation/skill-designer/process/condition-activity/rectangle)
* [Symbol](/vantage/documentation/skill-designer/process/condition-activity/symbol)

### Enumerators

* [FieldType](/vantage/documentation/skill-designer/process/condition-activity/field-type)
* [DataType](/vantage/documentation/skill-designer/process/condition-activity/data-type)
* [ProcessingStatus](/vantage/documentation/skill-designer/process/condition-activity/processing-status)

## Related topics

<CardGroup cols={3}>
  <Card title="Condition activity" icon="circle-check" href="/vantage/documentation/skill-designer/process/condition-activity/condition-activity">
    Split workflow based on custom conditions evaluated per transaction.
  </Card>

  <Card title="Sample scripts" icon="file-code" href="/vantage/documentation/skill-designer/process/condition-activity/sample-scripts">
    Common patterns for checking rule errors and routing to manual review.
  </Card>

  <Card title="Context" icon="braces" href="/vantage/documentation/skill-designer/process/condition-activity/context">
    Global object exposing the current transaction, document, and processing.
  </Card>
</CardGroup>
