# Get extraction results

> Activity properties for classifying document pages and retrieving extracted fields and tables using the Ephesoft GetExtractionResults activity.

`UiPath.Ephesoft.Activities.GetExtractionResults`

Classifies each page of an uploaded document and outputs the document type, extracted fields, and tables within each page using the reference code from the **Multi-Page Extraction** activity.

## Properties

### Common

* **DisplayName** (`String`) - The display name of the activity.

### Input

* **ReferenceCode** (`String`) - A code generated by the [Multi-Page Extraction](https://docs.uipath.com/marketplace/automation-cloud/latest/user-guide/initiate-extract-fields#multi-page-extraction) activity, which can be used to retrieve the classified document types, extracted fields, and tables.

### Misc

* **Private** (`Boolean`) - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Output

* **Documents** (`EphesoftDocument[ ]`) - A list of documents containing all the extracted fields and tables within that document type. Confidence values as Lucene scores are also attached to each document and each field.
  :::note
  Lucene scores are not necessarily on a 0-100 scale. Each extracted value contains a **Confidence Score** and a **Confidence Threshold** to which it can be compared.

  You can read more about Lucene [here](https://lucene.apache.org/core/3_5_0/scoring.html).
  :::

## Custom Classes

### EphesoftDocument

* **Confidence** (`Single`) - A Lucene score for confidence of the classification. This should be over the Confidence Threshold.
* **Confidence Threshold** (`Single`) - The value above which the classification can be trusted.
* **DataTables** (`DataTable`) - Any table expected to be found in the document, if one exists.
* **Fields** (`EphesoftField[ ]`) - A list of fields expected to be found in the document.
* **Identifier** (`Single`) - A unique value identifying this document.
* **isConfident** (`Boolean`) - Whether or not the Confidence exceeds the Confidence Threshold.
* **Type** (`String`) - The type of document identified.

### EphesoftField

* **Confidence** (`Single`) - A Lucene score for confidence of the extracted field.
* **IsConfident** (`Boolean`) - Whether or not the Confidence exceeds a given threshold.
* **Name** (`String`) - The name of the field.
* **OCRConfidence** (`Single`) - Confidence that the OCR engine extracted correctly.
* **OCRConfidenceThreshold** (`Single`) - The value above which the extracted field can be trusted.
* **Type** (`String`) - The type of the field.
* **Value** (`String`) - The value read from the targeted field.
