# Document Understanding Process template

> **Document Understanding Process** is a fully functional UiPath® Studio project template based on a document processing flowchart. You can use it to get started with working on either a demo, or a large-scale implementation of Document Understanding<sup>TM</sup>.

## Overview

**Document Understanding Process** is a fully functional UiPath® Studio project template based on a document processing flowchart. You can use it to get started with working on either a demo, or a large-scale implementation of Document Understanding<sup>TM</sup>.

The process provides logging, exception handling, retry mechanisms, and all the methods that should be used in a Document Understanding workflow, out of the box.

## Framework

The Document Understanding Process template is preconfigured with a variety of basic document types, as well as classifiers and extractors, that are specific to an activity package. The template comes in the following project compatibility types:

* **Windows** – This framework uses the IntelligentOCR activity package, designed for Windows projects.
* **Cross-platform** – This framework uses the DocumentUnderstanding activity package, designed for Cross-platform projects.

Both template types are compatible with [modern projects](https://docs.uipath.com/document-understanding/automation-cloud/latest/user-guide/choosing-the-project-type), making the process template a best practice sample that you can adapt to your needs.

Figure 1. Document Understanding Project Extractor in the template

  ![Document Understanding Project Extractor in the template](https://dev-assets.cms.uipath.com/assets/images/document-understanding/latest-document-understanding-project-extractor-in-the-template-449878-adce9310-1474d588.webp)

## Architecture

The process has an architecture decoupled from other connected automations:

* It does not matter where the files to be processed are coming from or what triggers the execution, this is the responsibility of an upstream process;
* It does not matter where the extracted information should be used, this is the responsibility of a downstream process.

The process has the same architecture for scenarios using both attended robots, and unattended robots running Document Understanding, that have human in the loop validation via Action Center.

Items are not processed in bulk. Instead, there is one job for each input file. A dispatcher is required for processing every item, but this flexible approach helps you get started, develop, debug, and scale Document Understanding processes.

## Supported project language types

The Document Understanding Process template only supports **Visual Basic** projects.

## Default dependencies

Dpending on the template type, the default dependencies in a **Document Understanding Process** are:

* **Windows**:
  + [UiPath.DocumentUnderstanding.ML.Activities](https://docs.uipath.com/activities/other/latest/document-understanding/about-the-documentunderstanding-ml-activities-pack);
  + [UiPath.Excel.Activities](https://docs.uipath.com/activities/other/latest/productivity/about-the-excel-activities-pack);
  + [UiPath.IntelligentOCR.Activities](https://docs.uipath.com/activities/other/latest/document-understanding/about-the-intelligent-ocr-activities-pack);
  + [UiPath.System.Activities](https://docs.uipath.com/activities/other/latest/workflow/about-the-system-activities-pack);
  + [UiPath.Testing.Activities](https://docs.uipath.com/activities/other/latest/workflow/about-the-testing-activities-pack);
  + [UiPath.UIAutomation.Activities](https://docs.uipath.com/activities/other/latest/ui-automation/about-the-ui-automation-activities-pack).
* **Cross-platform**:
  + [UiPath.DocumentUnderstanding.Activities](https://docs.uipath.com/activities/other/latest/document-understanding/about-the-documentunderstanding-package);
  + [UiPath.System.Activities](https://docs.uipath.com/activities/other/latest/workflow/about-the-system-activities-pack);
  + [UiPath.UIAutomation.Activities](https://docs.uipath.com/activities/other/latest/ui-automation/about-the-ui-automation-activities-pack).

## How to access the process

:::note
Document Understanding Process is compatible with **Studio** version **21.4.4** or higher. For previous Studio versions, you can download the NuGet package from [here](https://github.com/UiPath-Services/StudioTemplates/releases).
:::

You can find the Document Understanding Process template on the official template feed. Navigate to the **Templates** tab and select the **Document Understanding Process** card.

Figure 2. Official Feed for Studio Templates

  ![Official Feed for Studio Templates](https://dev-assets.cms.uipath.com/assets/images/document-understanding/latest-official-feed-for-studio-templates-450121-825cfc95-3f4d9fd6.webp)

Select **Use Template**.

Figure 3. Use Document Understanding Process template

  ![Use Document Understanding Process template](https://dev-assets.cms.uipath.com/assets/images/document-understanding/latest-use-document-understanding-process-template-498728-5bdbc3a3-aa4441d1.webp)

Enter a **Name** for your process and choose a **Location** on your PC. For **Compatibility**, select the type of project compatibility you want the template to have. Each compatibility type uses a different activity package for its framework. Lastly, select **Create** to open the process.

Figure 4. Document Understanding Process template project types

  ![Document Understanding Process template project types](https://dev-assets.cms.uipath.com/assets/images/document-understanding/latest-document-understanding-process-template-project-types-499031-036258af-588c59f9.webp)

## User guide

The process comes with detailed documentation included in the project folder. We recommend you to read the enclosed [User Guide](https://github.com/UiPath-Services/StudioTemplates/blob/develop/DocumentUnderstandingProcess/contentFiles/any/any/pt0/VisualBasic/UserGuide/Document%20Understanding%20Process%20-%20User%20Guide.pdf) even if you are familiar with the Document Understanding solution.

## Contribute to the project

You can contribute directly to the project by making a pull request or by opening an issue in our repository [here](https://github.com/UiPath-Services/StudioTemplates). If you want to create a new branch, please be aware of the naming conventions in the **README.md** file.
