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

# Document

> The Document object — properties of the document being processed in a Condition activity, including fields, pages, classification results, and source files.

`Document` represents the document currently being processed in a Condition activity.

<Note>
  Depending on which processing stages have completed, some properties may return empty values. For example, only `DocumentId` and `SourceFiles` are populated before any skill is applied. `ResultClass` is populated after a Classification skill runs. `Fields` is populated after extraction.
</Note>

## Properties

| Name | Type | Access | Description |
| :- | :- | :- | :- |
| **ClassConfidences** | [ClassConfidence](/vantage/documentation/skill-designer/process/condition-activity/class-confidence) | Read-only | The confidence values for each class. `null` if the document wasn't classified. |
| **DocumentId** | string | Read-only | The unique document identifier. |
| **DocumentSkillId** | string | Read-only | The identifier of the skill applied to the document. If several stages have run, this is the most recently applied skill. |
| **DocumentSkillName** | string | Read-only | The name of the skill applied to the document. If several stages have run, this is the most recently applied skill. |
| **Fields** | [Field](/vantage/documentation/skill-designer/process/condition-activity/field)\[] | Read-only | Fields detected on the document. Populated only after a Document skill runs. |
| **HasSuspiciousSymbols** | bool | Read-only | `true` if the document contains at least one field with characters recognized with low confidence. |
| **IsResultClassConfident** | bool | Read-only | `true` if the document's class was determined with confidence. |
| **IsUnknownSkill** | bool | Read-only | Whether the document class (and therefore the Document skill) has been determined. |
| **Pages** | [Page](/vantage/documentation/skill-designer/process/condition-activity/page)\[] | Read-only | The pages of the document. |
| **ResultClass** | string | Read-only | The class assigned by the Classification skill. `null` if the document wasn't classified. |
| **ResultClassId** | string | Read-only | The identifier of the class assigned by the Classification skill. `null` if not classified. |
| **RuleErrors** | [RuleError](/vantage/documentation/skill-designer/process/condition-activity/rule-error)\[] | Read-only | Field extraction validation rule errors. |
| **SourceFiles** | [SourceFile](/vantage/documentation/skill-designer/process/condition-activity/source-file)\[] | Read-only | Document source files. |

<Note>
  `ClassConfidences` and `IsResultClassConfident` are populated only when a Classification skill has been applied.
</Note>

## Related topics

* [Transaction](/vantage/documentation/skill-designer/process/condition-activity/transaction)
* [Field](/vantage/documentation/skill-designer/process/condition-activity/field)
* [Page](/vantage/documentation/skill-designer/process/condition-activity/page)
* [SourceFile](/vantage/documentation/skill-designer/process/condition-activity/source-file)
* [ClassConfidence](/vantage/documentation/skill-designer/process/condition-activity/class-confidence)
* [Object model](/vantage/documentation/skill-designer/process/condition-activity/object-model)
