activities
latest
false
- Overview
- Document Processing Contracts
- Release notes
- About the Document Processing Contracts
- Box Class
- IPersistedActivity interface
- PrettyBoxConverter Class
- IClassifierActivity Interface
- IClassifierCapabilitiesProvider Interface
- ClassifierDocumentType Class
- ClassifierResult Class
- ClassifierCodeActivity Class
- ClassifierNativeActivity Class
- ClassifierAsyncCodeActivity Class
- ClassifierDocumentTypeCapability Class
- ExtractorAsyncCodeActivity Class
- ExtractorCodeActivity Class
- ExtractorDocumentType Class
- ExtractorDocumentTypeCapabilities Class
- ExtractorFieldCapability Class
- ExtractorNativeActivity Class
- ExtractorResult Class
- ICapabilitiesProvider Interface
- IExtractorActivity Interface
- ExtractorPayload Class
- DocumentActionPriority Enum
- DocumentActionData Class
- DocumentActionStatus Enum
- DocumentActionType Enum
- DocumentClassificationActionData Class
- DocumentValidationActionData Class
- UserData Class
- Document Class
- DocumentSplittingResult Class
- DomExtensions Class
- Page Class
- PageSection Class
- Polygon Class
- PolygonConverter Class
- Metadata Class
- WordGroup Class
- Word Class
- ProcessingSource Enum
- ResultsTableCell Class
- ResultsTableValue Class
- ResultsTableColumnInfo Class
- ResultsTable Class
- Rotation Enum
- SectionType Enum
- WordGroupType Enum
- IDocumentTextProjection Interface
- ClassificationResult Class
- ExtractionResult Class
- ResultsDocument Class
- ResultsDocumentBounds Class
- ResultsDataPoint Class
- ResultsValue Class
- ResultsContentReference Class
- ResultsValueTokens Class
- ResultsDerivedField Class
- ResultsDataSource Enum
- ResultConstants Class
- SimpleFieldValue Class
- TableFieldValue Class
- DocumentGroup Class
- DocumentTaxonomy Class
- DocumentType Class
- Field Class
- FieldType Enum
- LanguageInfo Class
- MetadataEntry Class
- TextType Enum
- TypeField Class
- ITrackingActivity Interface
- ITrainableActivity Interface
- ITrainableClassifierActivity Interface
- ITrainableExtractorActivity Interface
- TrainableClassifierAsyncCodeActivity Class
- TrainableClassifierCodeActivity Class
- TrainableClassifierNativeActivity Class
- TrainableExtractorAsyncCodeActivity Class
- TrainableExtractorCodeActivity Class
- TrainableExtractorNativeActivity Class
- Document Understanding Digitizer
- Document Understanding ML
- Document Understanding OCR Local Server
- Document Understanding
- Release notes
- About the Document Understanding activity package
- Project compatibility
- Set PDF Password
- Merge PDFs
- Get PDF Page Count
- Extract PDF Text
- Extract PDF Images
- Extract PDF Page Range
- Extract Document Data
- Create Validation Task and Wait
- Wait for Validation Task and Resume
- Create Validation Task
- Classify Document
- Create Classification Validation Task
- Create Classification Validation Task and Wait
- Wait for Classification Validation Task and Resume
- Intelligent OCR
- Release notes
- About the IntelligentOCR activity package
- Project compatibility
- Configuring Authentication
- Load Taxonomy
- Digitize Document
- Classify Document Scope
- Keyword Based Classifier
- Document Understanding Project Classifier
- Intelligent Keyword Classifier
- Create Document Classification Action
- Wait For Document Classification Action And Resume
- Train Classifiers Scope
- Keyword Based Classifier Trainer
- Intelligent Keyword Classifier Trainer
- Data Extraction Scope
- Document Understanding Project Extractor
- RegEx Based Extractor
- Form Extractor
- Intelligent Form Extractor
- Present Validation Station
- Create Document Validation Action
- Wait For Document Validation Action And Resume
- Train Extractors Scope
- Export Extraction Results
- ML Services
- OCR
- OCR Contracts
- Release notes
- About the OCR Contracts
- Project compatibility
- IOCRActivity Interface
- OCRAsyncCodeActivity Class
- OCRCodeActivity Class
- OCRNativeActivity Class
- Character Class
- OCRResult Class
- Word Class
- FontStyles Enum
- OCRRotation Enum
- OCRCapabilities Class
- OCRScrapeBase Class
- OCRScrapeFactory Class
- ScrapeControlBase Class
- ScrapeEngineUsages Enum
- ScrapeEngineBase
- ScrapeEngineFactory Class
- ScrapeEngineProvider Class
- OmniPage
- PDF
- [Unlisted] Abbyy
- [Unlisted] Abbyy Embedded
ExtractorCodeActivity Class
Document Understanding Activities
Last updated Oct 29, 2024
ExtractorCodeActivity Class
ExtractorCodeActivity
abstract class, a combination of the
IExtractorActivity
interface and the CodeActivity
abstract class, is cardinal for constructing a CodeActivity
for document
data extraction.
- 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.
The Data Extraction Scope activity automatically populates all defined InArguments for its child activities. These InArguments include the following information:
- Specific details about the document under extraction. This includes its original file path, text version, and document object model.
- Details about the fields that the extractor activity is expected to process. These are configured via the Configure Extractors wizard in the Data Extraction Scope activity.
The OutArgument houses the extraction results. This is composed of an
ExtractorResult
object, containing a
DataPoints
list with entries for all successfully identified
input fields.
Constructors
ExtractorCodeActivity()
- A protected default constructor.
Methods
GetCapabilities()
- Gets a list of fields the extractor is capable of extracting, for each document type, at design time. This method will only be called at design time, and as such it should NOT use any InArgument(s)ProvidesCapabilities()
- Returns true if the extractor is able to provide a list of capabilities.
Properties
DocumentPath
InArgument<string>
- The file path to 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.ExtractorDocumentType
InArgument<UiPath.DocumentProcessing.Contracts.DataExtraction.ExtractorDocumentType>
- The document type information that the extractor takes into account.DocumentBounds
InArgument<UiPath.DocumentProcessing.Contracts.Results.ResultsDocumentBounds>
- The page range and bounds that the extractor takes into account.ExtractorResult
OutArgument<UiPath.DocumentProcessing.Contracts.DataExtraction.ExtractorResult>
- The output of the extractor activity.PersistenceId
string
- The unique, opaque ID that is used by the scope activities in order to correctly track and configure the extractor activity.PredictionId
InArgument<string>
- Identifies that the same document is processed in a workflow. It's composed ofDocumentId
+JobId
.