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

<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="Object model" icon="diagram-project" href="/vantage/documentation/skill-designer/process/condition-activity/object-model">
    Full JavaScript object reference for Condition activity scripts.
  </Card>

  <Card title="Transaction" icon="exchange" href="/vantage/documentation/skill-designer/process/condition-activity/transaction">
    The current processing transaction and its documents.
  </Card>

  <Card title="Document" icon="file-lines" href="/vantage/documentation/skill-designer/process/condition-activity/document">
    The document being processed by the Condition activity.
  </Card>

  <Card title="Processing" icon="bars-progress" href="/vantage/documentation/skill-designer/process/condition-activity/processing">
    Information about the previous processing stage of a transaction.
  </Card>
</CardGroup>
