UiPath Activities

The UiPath Activities Guide

ITrainableActivity Interface

Namespace: UiPath.DocumentProcessing.Contracts.Training
Assembly: UiPath.DocumentProcessing.Contracts

Starting with v2.2.0, this activity has been deprecated.


A public interface inheriting the IPersistedActivity interface, that defines the InArguments available for a training activity. A training activity can train either a classifier or an extractor.
This interface should not be implemented directly. When building an extractor activity, use one of the provided abstract classes: TrainableCodeActivity, TrainableNativeActivity, or TrainableAsyncCodeActivity.



  • DocumentPath InArgument<string> - The file path of the document.
  • DocumentText InArgument<string> - The text version of the document.
  • DocumentObjectModel InArgument<UiPath.DocumentProcessing.Contracts.Dom.Document> - The document object model of the document.
  • HumanValidatedData InArgument<UiPath.DocumentProcessing.Contracts.Results.ExtractionResult[]> - The extraction results for the processed document that you want to use for training.

Updated 9 months ago

ITrainableActivity Interface

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.