# Retrieve Document Validation Artifacts

> `UiPath.IntelligentOCR.Activities.RetrieveDocumentValidationArtifacts`

`UiPath.IntelligentOCR.Activities.RetrieveDocumentValidationArtifacts`

## Description

The Retrieve Document Validation Artifacts activity retrieves the data related to a document reviewed through an App action, so that the validated extraction results become available in the automation for downstream processing. After the App action has been completed, this activity allows you to retrieve all data (original and confirmed) stored in storage buckets, by the Create Document Validation Artifacts activity.

## Project compatibility

**Windows - Legacy | Windows**

## Configuration

#### Designer panel

**Content Validation Data Input**
* **Content Validation Data Object**: Input the variable that holds the output of the **Create Document Validation Artifacts** activity. This property retrieves extraction results specific to a document for which validation artifacts were previously created.

**Storage details**
* **Remove Data from Storage**: Enable this to delete all data corresponding to the retrieved action from the storage bucket.

#### Properties panel

**Common**
* **ContinueOnError**: Specifies if the automation should continue even when the activity throws an error. This field only supports `Boolean` values (True, False). The default value is **False**. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to **True**, the execution of the project continues regardless of any error.
* **DisplayName**: The display name of the activity.
* **RetryOnFailure**: Automatically retries the machine learning model execution, to eliminate transient network errors. If checked, the activity retries the execution.
* **Timeout (milliseconds)**: Specifies the waiting time (in milliseconds) for the activity to connect to Orchestrator before an error is thrown. The default value is 30000 milliseconds (30 seconds). This field supports only integer and `Int32` variables.

**Content Validation Input**
* **Content Validation Data**: Input the variable that holds the output of the **Create Document Validation Artifacts** activity. This property retrieves extraction results specific to a document for which validation artifacts were previously created.

**Document Validation Data Output**
* **AutomaticExtractionResults**: The results of the automatically generated extraction validated by the Action Center reviewer.
* **ValidatedExtractionResults**: Contains the data confirmed by the user in Action Center.

**Misc** - Contains the document-related information after validating it in Action Center.
* **DocumentObjectModel**: The Document Object Model after user validation.
* **DocumentPath**: The local path of the retrieved validated document.
* **DocumentText**: The extracted text from the document.
* **Private**: If selected, the values of variables and arguments are no longer logged at Verbose level.
* **Taxonomy**: The taxonomy against which the validation action was completed.

**Storage details**
* **DownloadDirectoryPath**: The local directory where you want to download the validated document.
* **Remove Data from Storage**: Enable this option to delete all data corresponding to the retrieved action from the storage bucket.
