UiPath Activities

The UiPath Activities Guide

ExtractorCodeActivity Class

Namespace: UiPath.DocumentProcessing.Contracts.DataExtraction
Assembly: UiPath.DocumentProcessing.Contracts


Abstract class that implements the UiPath.DocumentProcessing.Contracts.DataExtraction.IExtractorActivity interface and the System.Activities.CodeActivity abstract class.
This class is implemented in order to construct a CodeActivity for document data extraction, compatible with the Data Extraction Scope activity and the document processing infrastructure.
In order to implement this abstract class, the Execute(CodeActivityContext context) method needs to be overridden.


All the defined InArguments are automatically populated by the Data Extraction Scope activity for all child activities.

The InArguments contain:
Information about the document that is to be classified, specifically the original file path, the text version, and the document object model.
Information about the fields expected to be understood and processed by the classifier activity. These document types are set by the Data Extraction Scope activity after their configuration in the Configure Extractors wizard of the scope activity.

The OutArgument contains the extraction results, in an ExtractorResult object, with as many entries in the DataPoints list as successfully identified requested input fields.



  • ExtractorCodeActivity() - A protected default constructor


Updated about a month ago

ExtractorCodeActivity Class

Suggested Edits are limited on API Reference Pages

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