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
ExtractionResult Class
Document Understanding Activities
Last updated Nov 21, 2024
ExtractionResult Class
ExtractionResult
is a public class that represents an extraction
result for a part of a document.
- Namespace:
UiPath.DocumentProcessing.Contracts.Results
- Assembly:
UiPath.DocumentProcessing.Contracts
A public class that represents an extraction result for a part of a document.
Note: Starting with
UiPath.DocumentProcessing.Contracts package v1.17, the
ExtractionResult.FlattenFields()
method has been marked as
obsolete. This structure will be removed in the future. Support for sub-fields at
value level is obsolete and table fields are now represented using a new data
structure.
Constructors
ExtractionResult()
- Initializes a new instance of the
ExtractionResult
class with no arguments.
Methods
AsClassificationResult()
- Returns aUiPath.DocumentProcessing.Contracts.Results.ClassificationResult
generated using the information from theExtractionResult
object.AsDataSet
(<bool>
) - Returns aSystem.Data.DataSet
containing multipleSystem.Data.DataTable
in the.Tables
collection. This collection contains a table called Simple Fields, that contains all fields as columns and all reported values for a field as values in the table. If a field has no value in theExtractionResult
, then no value is reported. If a table field has a value, it is reported as the stringtable
, which is a marker of the fact that there is aDataTable
with the field name that contains column fields as columns, and values for each row as values in theDataTable
.AsDataSet
(<bool>, <bool>
) - Returns aSystem.Data.DataSet
containing multipleSystem.Data.DataTable
in the.Tables
collection. This collection contains a table called Simple Fields, that contains all fields as columns and all reported values for a field as values in the table. If a field has no value in theExtractionResult
, then no value is reported. If a table field has a value, it is reported as the stringtable
, which is a marker of the fact that there is aDataTable
with the field name that contains column fields as columns, and values for each row as values in theDataTable
.Deserialize
(<string>
) - A static method that returns a new instance of theExtractionResult
class with the contents serialized in the input string.EnumerateValues
(System.Func<UiPath.DocumentProcessing.Contracts.Results.ResultsValue, <bool>
) - Allows you to iterate over all values in the results document, including table cell values.FlattenFields
(System.Func<UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint, <bool>
) - Flattens the fields inUiPath.DocumentProcessing.Contracts.Results.ExtractionResult.ResultsDocument
and filters them based on the condition.Warning: This method is obsolete.GetDocumentType()
- Returns a string containing theDocumentTypeId
of theExtractionResult
object.GetFields
(System.Func<UiPath.DocumentProcessing.Contracts.Results.ResultsDataPoint, <bool>
) - Filters the fields inUiPath.DocumentProcessing.Contracts.Results.ExtractionResult.ResultsDocument
that satisfy the condition.GetField
(<string>
) - Returns the field with the specified field ID ornull
if it doesn't exist.GetSimpleFieldValues
(<string>
) - Returns a list of UiPath.DocumentProcessing.Contracts.Results.SimpleFieldValue for the inputfieldId
.GetTable
(<string>
) - Returns the table with the specified id or null if it doesn't exist.GetTableFieldValue
(<string>, <int>
) - Returns a UiPath.DocumentProcessing.Contracts.Results.TableFieldValue containing cell values for the requiredfieldId
. By default, this field is set to 0.-
IsAnyFieldOrTableCellMissing()
bool
- Determines whether there is any data point or table cell which doesn't have values.Note: Only a single value for a table field is supported. ThevalueIndex
can therefore only be set to 0. GetValueCount
(<string>
) - Returns an integer containing the number of values associated with the providedfieldId
.Serialize()
string
- Returns a string containing the serialized representation of theExtractionResult
object.GetFieldValidatorNotes
(<fieldId>
) - Returns the field value containing validator notes with the specified field id, or null if it doesn't exist.SetFieldValidatorNotes
(<fieldId>
,<validatorNote>
) - Set the field value for validator notes with the specified field ID, if notes are activated for that field.
Properties
DocumentId
String
- The name of the document for which the extraction results are reported.ExtractorPayloads
String
- Additional information provided by extractors.ResultsDocument
UiPath.DocumentProcessing.Contracts.Results.ResultsDocument
- The details of the classification and data extraction structure.ResultsVersion
Int
- The version of theExtractionResult
reported for the document. Starts at 0 when automatic extraction is performed and should be increased by one each time the contents of the object are changed, for tracking purposes.