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

# Context

> The Context global object — provides access to the current transaction, its documents, and processing information in Condition activity scripts.

`Context` is a global object that gives your Condition activity script access to document processing data.

## Properties

| Name            | Type                                                                                        | Access    | Description                                                                                               |
| :-------------- | :------------------------------------------------------------------------------------------ | :-------- | :-------------------------------------------------------------------------------------------------------- |
| **Processing**  | [Processing](/vantage/documentation/skill-designer/process/condition-activity/processing)   | Read-only | Processing information. Use it to reference the previous processing stage and check whether it succeeded. |
| **Transaction** | [Transaction](/vantage/documentation/skill-designer/process/condition-activity/transaction) | Read-only | The current transaction containing all documents being processed.                                         |

### Deprecated properties

<Warning>
  The `CurrentDocument` property is deprecated — it always points to the first document in a transaction. Use [`Context.Transaction.Documents`](/vantage/documentation/skill-designer/process/condition-activity/transaction) instead.
</Warning>

| Name                | Type                                                                                  | Access    | Description                             |
| :------------------ | :------------------------------------------------------------------------------------ | :-------- | :-------------------------------------- |
| **CurrentDocument** | [Document](/vantage/documentation/skill-designer/process/condition-activity/document) | Read-only | The document currently being processed. |

## Related topics

* [Condition activity](/vantage/documentation/skill-designer/process/condition-activity/condition-activity)
* [Object model](/vantage/documentation/skill-designer/process/condition-activity/object-model)
* [Transaction](/vantage/documentation/skill-designer/process/condition-activity/transaction)
* [Document](/vantage/documentation/skill-designer/process/condition-activity/document)
* [Processing](/vantage/documentation/skill-designer/process/condition-activity/processing)
