# IPersistedActivity interface

> IPersistedActivityInterface is an interface that helps with accurately tracking child activities and their configurations.

IPersistedActivityInterface is an interface that helps with accurately tracking child activities and their configurations.

## Definition

* Namespace: `UiPath.DocumentProcessing.Contracts`
* Assembly: `UiPath.DocumentProcessing.Contracts`

## Description

`IPersistedActivity` is a public interface implemented by the abstract classes defined in `UiPath.DocumentProcessing.Contracts.Classification`, `UiPath.DocumentProcessing.Contracts.DataExtraction`, and `UiPath.DocumentProcessing.Contracts.Training`.

This interface is designed to be used only for enabling the Classify Document Scope, Data Extraction Scope, Train Classifiers Scope, and Train Extractors Scope activities. It helps in correctly tracking the child activities and their configurations. Check the following list for the activities that this interface enables, along with the their pages you can visit for reference:

* [Classify Document Scope](https://docs.uipath.com/activities/other/latest/document-understanding/classify-document-scope)
* [Data Extraction Scope](https://docs.uipath.com/activities/other/latest/document-understanding/data-extraction-scope)
* [Train Classifiers Scope](https://docs.uipath.com/activities/other/latest/document-understanding/train-classifiers-scope)
* [Train Extractors Scope](https://docs.uipath.com/activities/other/latest/document-understanding/train-extractors-scope)

## Members

#### Properties

`PersistenceId` (`string`) - An opaque ID meant to be persistent with an activity instance.
:::note
Do not set any value to the `PersistenceId` property, as the document processing scope activities manage this value and use it to correctly track and configure the child activities implementing the Document Processing interface.
:::
