-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain.xaml
277 lines (277 loc) · 26.3 KB
/
Main.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
<Activity mc:Ignorable="sap sap2010" x:Class="Main" mva:VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="1378,2774" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" xmlns:p="http://schemas.uipath.com/workflow/activities/intelligentocr" xmlns:p1="http://schemas.uipath.com/workflow/activities/intelligentocr/classification" xmlns:p2="http://schemas.uipath.com/workflow/activities/document-processing-contracts/classification" xmlns:p3="http://schemas.uipath.com/workflow/activities/document-processing-contracts/dom" xmlns:p4="http://schemas.uipath.com/workflow/activities/intelligentocr/extraction" xmlns:p5="http://schemas.uipath.com/workflow/activities/documentunderstanding-ml" xmlns:p6="http://schemas.uipath.com/workflow/activities/document-processing-contracts/extraction" xmlns:p7="http://schemas.uipath.com/workflow/activities/document-processing-contracts/results" xmlns:p8="http://schemas.uipath.com/workflow/activities/document-processing-contracts/taxonomy" xmlns:sap="http://schemas.microsoft.com/netfx/2009/xaml/activities/presentation" xmlns:sap2010="http://schemas.microsoft.com/netfx/2010/xaml/activities/presentation" xmlns:scg="clr-namespace:System.Collections.Generic;assembly=mscorlib" xmlns:sd="clr-namespace:System.Drawing;assembly=System.Drawing" xmlns:sd1="clr-namespace:System.Data;assembly=System.Data" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:uoa="clr-namespace:UiPath.OmniPage.Activities;assembly=UiPath.OmniPage.Activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="50">
<x:String>System.Activities</x:String>
<x:String>System.Activities.Statements</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Activities.Validation</x:String>
<x:String>System.Activities.XamlIntegration</x:String>
<x:String>Microsoft.VisualBasic</x:String>
<x:String>Microsoft.VisualBasic.Activities</x:String>
<x:String>System</x:String>
<x:String>System.Collections</x:String>
<x:String>System.Collections.Generic</x:String>
<x:String>System.Data</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Windows.Markup</x:String>
<x:String>UiPath.DocumentProcessing.Contracts.Taxonomy</x:String>
<x:String>UiPath.IntelligentOCR.Activities.TaxonomyManagement</x:String>
<x:String>UiPath.Shared.Activities</x:String>
<x:String>System.Collections.ObjectModel</x:String>
<x:String>System.Activities.DynamicUpdate</x:String>
<x:String>UiPath.DocumentProcessing.Contracts.Dom</x:String>
<x:String>System.Runtime.Serialization</x:String>
<x:String>UiPath.IntelligentOCR.Activities.Digitization</x:String>
<x:String>UiPath.Vision.OCR</x:String>
<x:String>UiPath.OCR.Contracts</x:String>
<x:String>System.Reflection</x:String>
<x:String>System.Runtime.InteropServices</x:String>
<x:String>UiPath.OmniPage.Activities</x:String>
<x:String>UiPath.OCR.Contracts.Activities</x:String>
<x:String>UiPath.DocumentProcessing.Contracts.Results</x:String>
<x:String>UiPath.IntelligentOCR.Activities.DocumentClassification</x:String>
<x:String>UiPath.DocumentProcessing.Contracts.Classification</x:String>
<x:String>UiPath.DocumentProcessing.Contracts.Training</x:String>
<x:String>UiPath.DocumentProcessing.Contracts</x:String>
<x:String>UiPath.IntelligentOCR.Activities.Training</x:String>
<x:String>UiPath.IntelligentOCR.Activities.DataExtraction</x:String>
<x:String>UiPath.DocumentProcessing.Contracts.DataExtraction</x:String>
<x:String>UiPath.DocumentUnderstanding.ML.Activities</x:String>
<x:String>UiPath.DocumentUnderstanding.ML.Activities.Editors</x:String>
<x:String>UiPath.IntelligentOCR.Activities.ValidationStation</x:String>
<x:String>System.ComponentModel</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>UiPath.Excel</x:String>
<x:String>UiPath.Excel.Activities</x:String>
</scg:List>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<scg:List x:TypeArguments="AssemblyReference" Capacity="54">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
<AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
<AssemblyReference>UiPath.DocumentProcessing.Contracts</AssemblyReference>
<AssemblyReference>UiPath.IntelligentOCR.Activities</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>UiPath.OCR.Activities</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference>
<AssemblyReference>UiPath.DocumentUnderstanding.ML.Activities</AssemblyReference>
<AssemblyReference>UiPath.Vision.Core</AssemblyReference>
<AssemblyReference>UiPath.OCR.Contracts</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>UiPath.OmniPage.Activities</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>Microsoft.Bcl.AsyncInterfaces</AssemblyReference>
<AssemblyReference>System.ValueTuple</AssemblyReference>
<AssemblyReference>System.ComponentModel.Composition</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.IntelligentOCR</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.OmniPage.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.OCR.Activities.Design</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="Main" sap:VirtualizedContainerService.HintSize="604,2609" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="p8:DocumentTaxonomy" Name="taxonomy" />
<Variable x:TypeArguments="x:String" Name="docText" />
<Variable x:TypeArguments="p3:Document" Name="DOM" />
<Variable x:TypeArguments="x:String" Name="docPath" />
<Variable x:TypeArguments="p7:ClassificationResult[]" Name="classificationResult" />
<Variable x:TypeArguments="p7:ExtractionResult" Name="extractionResults" />
<Variable x:TypeArguments="p7:ExtractionResult" Name="validateResult" />
<Variable x:TypeArguments="sd1:DataSet" Name="dataSetResult" />
<Variable x:TypeArguments="sd1:DataTable" Default="[new DataTable]" Name="dtOutput" />
<Variable x:TypeArguments="x:String" Default="doc" Name="directoryPath" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:ForEach x:TypeArguments="x:String" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="562,2362" sap2010:WorkflowViewState.IdRef="ForEach`1_2" Values="[Directory.GetFiles(directoryPath)]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="x:String">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:String" Name="item" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="526,2228" sap2010:WorkflowViewState.IdRef="Sequence_3">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="docType" />
<Variable x:TypeArguments="sd1:DataTable" Name="dataTable" />
</Sequence.Variables>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Assign sap:VirtualizedContainerService.HintSize="484,60" sap2010:WorkflowViewState.IdRef="Assign_1">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[docPath]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[item]</InArgument>
</Assign.Value>
</Assign>
<p:LoadTaxonomy DisplayName="Load Taxonomy" sap:VirtualizedContainerService.HintSize="484,103" sap2010:WorkflowViewState.IdRef="LoadTaxonomy_1" Taxonomy="[taxonomy]" />
<p:DigitizeDocument DegreeOfParallelism="-1" DisplayName="Digitize Document" DocumentObjectModel="[DOM]" DocumentPath="[docPath]" DocumentText="[docText]" ForceApplyOCR="False" sap:VirtualizedContainerService.HintSize="484,293" sap2010:WorkflowViewState.IdRef="DigitizeDocument_1">
<p:DigitizeDocument.OCREngine>
<ActivityFunc x:TypeArguments="sd:Image, scg:IEnumerable(scg:KeyValuePair(sd:Rectangle, x:String))">
<ActivityFunc.Argument>
<DelegateInArgument x:TypeArguments="sd:Image" Name="Image" />
</ActivityFunc.Argument>
<uoa:OmniPageOCR Language="{x:Null}" Output="{x:Null}" Profile="{x:Null}" Scale="{x:Null}" Text="{x:Null}" BundleType="Basic" ComputeSkewAngle="False" DisplayName="OmniPage OCR" ExtractWords="True" sap:VirtualizedContainerService.HintSize="312,22" sap2010:WorkflowViewState.IdRef="OmniPageOCR_1" Image="[Image]" />
</ActivityFunc>
</p:DigitizeDocument.OCREngine>
</p:DigitizeDocument>
<p1:ClassifyDocumentScope ClassificationResults="[classificationResult]" DisplayName="Classify Document Scope" DocumentObjectModel="[DOM]" DocumentPath="[docPath]" DocumentText="[docText]" sap:VirtualizedContainerService.HintSize="484,434" sap2010:WorkflowViewState.IdRef="ClassifyDocumentScope_1" Taxonomy="[taxonomy]" TaxonomyConfiguration="{}{"TaxonomyMappings":{"UI8aff741665b24303a29f4dfb9ce61c35":{"DocumentTypeMappings":{"ACME.Accounting.Invoice":{"OriginalDocumentTypeId":"ACME.Accounting.Invoice","ClassifierDocumentTypeId":"","IsDocumentTypeIdMapped":true},"ACME.Accounting.Sit":{"OriginalDocumentTypeId":"ACME.Accounting.Sit","ClassifierDocumentTypeId":null,"IsDocumentTypeIdMapped":true},"ACME.Accounting.Walmart":{"OriginalDocumentTypeId":"ACME.Accounting.Walmart","ClassifierDocumentTypeId":null,"IsDocumentTypeIdMapped":true}}}},"ClassifierMinimumConfidence":{"UI8aff741665b24303a29f4dfb9ce61c35":"0"},"DocumentTypesByPersistenceId":{"UI8aff741665b24303a29f4dfb9ce61c35":[]}}">
<p1:ClassifyDocumentScope.Classifiers>
<p1:KeywordBasedClassifier HumanValidatedData="{x:Null}" LearningData="{x:Null}" DisplayName="Keyword Based Classifier" sap:VirtualizedContainerService.HintSize="234,113" sap2010:WorkflowViewState.IdRef="KeywordBasedClassifier_1" LearningFilePath="DocumentProcessing\classifier.json" PersistenceId="UI8aff741665b24303a29f4dfb9ce61c35">
<p1:KeywordBasedClassifier.ClassifierResult>
<OutArgument x:TypeArguments="p2:ClassifierResult">
<DelegateArgumentReference x:TypeArguments="p2:ClassifierResult">
<DelegateOutArgument x:TypeArguments="p2:ClassifierResult" Name="ClassificationResult" />
</DelegateArgumentReference>
</OutArgument>
</p1:KeywordBasedClassifier.ClassifierResult>
<p1:KeywordBasedClassifier.DocumentObjectModel>
<InArgument x:TypeArguments="p3:Document">
<DelegateArgumentValue x:TypeArguments="p3:Document">
<DelegateInArgument x:TypeArguments="p3:Document" Name="DocumentObjectModel" />
</DelegateArgumentValue>
</InArgument>
</p1:KeywordBasedClassifier.DocumentObjectModel>
<p1:KeywordBasedClassifier.DocumentPath>
<InArgument x:TypeArguments="x:String">
<DelegateArgumentValue x:TypeArguments="x:String">
<DelegateInArgument x:TypeArguments="x:String" Name="DocumentPath" />
</DelegateArgumentValue>
</InArgument>
</p1:KeywordBasedClassifier.DocumentPath>
<p1:KeywordBasedClassifier.DocumentText>
<InArgument x:TypeArguments="x:String">
<DelegateArgumentValue x:TypeArguments="x:String">
<DelegateInArgument x:TypeArguments="x:String" Name="DocumentText" />
</DelegateArgumentValue>
</InArgument>
</p1:KeywordBasedClassifier.DocumentText>
<p1:KeywordBasedClassifier.DocumentTypes>
<InArgument x:TypeArguments="p2:ClassifierDocumentType[]">
<DelegateArgumentValue x:TypeArguments="p2:ClassifierDocumentType[]">
<DelegateInArgument x:TypeArguments="p2:ClassifierDocumentType[]" Name="DocumentTypes" />
</DelegateArgumentValue>
</InArgument>
</p1:KeywordBasedClassifier.DocumentTypes>
</p1:KeywordBasedClassifier>
</p1:ClassifyDocumentScope.Classifiers>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</p1:ClassifyDocumentScope>
<p4:DataExtractionScope DocumentTypeId="{x:Null}" ClassificationResult="[classificationResult(0)]" DisplayName="Data Extraction Scope" DocumentObjectModel="[DOM]" DocumentPath="[docPath]" DocumentText="[docText]" ExtractionResult="[extractionResults]" FormatValuesIfPossible="True" sap:VirtualizedContainerService.HintSize="484,67" sap2010:WorkflowViewState.IdRef="DataExtractionScope_1" Taxonomy="[taxonomy]" TaxonomyConfiguration="{}{"TaxonomyMappings":{"UIbb962ca999aa49d1b6499d876cabec33":{"DocumentTypeMappings":{"ACME.Accounting.Invoice":{"FieldMappings":{"ACME.Accounting.Invoice.InvoiceNumber":{"OriginalTaxonomyFieldId":"ACME.Accounting.Invoice.InvoiceNumber","ExtractorTaxonomyFieldId":"\"invoice-no\"","ShouldExtract":true},"ACME.Accounting.Invoice.InvoiceDate":{"OriginalTaxonomyFieldId":"ACME.Accounting.Invoice.InvoiceDate","ExtractorTaxonomyFieldId":"\"date\"","ShouldExtract":true},"ACME.Accounting.Invoice.Total":{"OriginalTaxonomyFieldId":"ACME.Accounting.Invoice.Total","ExtractorTaxonomyFieldId":"\"total\"","ShouldExtract":true}},"ExtractorDocumentTypeId":"\"\""},"ACME.Accounting.Sit":{"FieldMappings":{"ACME.Accounting.Sit.InvoiceNumber":{"OriginalTaxonomyFieldId":"ACME.Accounting.Sit.InvoiceNumber","ExtractorTaxonomyFieldId":"\"invoice-no\"","ShouldExtract":true},"ACME.Accounting.Sit.InvoiceDate":{"OriginalTaxonomyFieldId":"ACME.Accounting.Sit.InvoiceDate","ExtractorTaxonomyFieldId":"\"date\"","ShouldExtract":true},"ACME.Accounting.Sit.Total":{"OriginalTaxonomyFieldId":"ACME.Accounting.Sit.Total","ExtractorTaxonomyFieldId":"\"total\"","ShouldExtract":true}},"ExtractorDocumentTypeId":"\"\""}}}},"ExtractorMinimumConfidence":{"UIbb962ca999aa49d1b6499d876cabec33":"0"},"ExtractorsAliases":{},"DocumentTypeOptionsByExtractor":{"UIbb962ca999aa49d1b6499d876cabec33":[{"FieldId":"","SubOptions":[{"FieldId":"name","SubOptions":null},{"FieldId":"vendor-addr","SubOptions":null},{"FieldId":"billing-name","SubOptions":null},{"FieldId":"billing-addr","SubOptions":null},{"FieldId":"shipping-addr","SubOptions":null},{"FieldId":"invoice-no","SubOptions":null},{"FieldId":"po-no","SubOptions":null},{"FieldId":"vendor-vat-no","SubOptions":null},{"FieldId":"date","SubOptions":null},{"FieldId":"tax","SubOptions":null},{"FieldId":"total","SubOptions":null},{"FieldId":"payment-terms","SubOptions":null},{"FieldId":"net-amount","SubOptions":null},{"FieldId":"due-date","SubOptions":null},{"FieldId":"discount","SubOptions":null},{"FieldId":"shipping-charges","SubOptions":null},{"FieldId":"payment-addr","SubOptions":null},{"FieldId":"billing-vat-no","SubOptions":null},{"FieldId":"iban","SubOptions":null},{"FieldId":"currency","SubOptions":null},{"FieldId":"items","SubOptions":[{"FieldId":"description","SubOptions":null},{"FieldId":"quantity","SubOptions":null},{"FieldId":"unit-price","SubOptions":null},{"FieldId":"line-amount","SubOptions":null},{"FieldId":"item-po-no","SubOptions":null},{"FieldId":"line-no","SubOptions":null},{"FieldId":"part-no","SubOptions":null}]}]}]}}">
<p4:DataExtractionScope.Extractors>
<p5:MachineLearningExtractor SelectedMLSkill="{x:Null}" ApiKey="vzeuXDg3RM6JGfKTZNXb9ecTYkqr7avTCHy3tdcOHmBMTM0QLGtTBFJ/tVTvM4GTMljWp3FdBoEpkX+HUzMolQ==" Configuration="{}{"Endpoint":"https://du.uipath.com/ie/invoices","ApiKey":"vzeuXDg3RM6JGfKTZNXb9ecTYkqr7avTCHy3tdcOHmBMTM0QLGtTBFJ/tVTvM4GTMljWp3FdBoEpkX+HUzMolQ==","AvailableMLSkills":[]}" DisplayName="Machine Learning Extractor" Endpoint="https://du.uipath.com/ie/invoices" sap:VirtualizedContainerService.HintSize="234,192" sap2010:WorkflowViewState.IdRef="MachineLearningExtractor_1" PersistenceId="UIbb962ca999aa49d1b6499d876cabec33" RetryOnFailure="True" Timeout="100000" UseServerSideOCR="False">
<p5:MachineLearningExtractor.AvailableMLSkills>
<scg:List x:TypeArguments="x:String" Capacity="1">
<x:String>MLSkillx</x:String>
</scg:List>
</p5:MachineLearningExtractor.AvailableMLSkills>
<p5:MachineLearningExtractor.DocumentBounds>
<InArgument x:TypeArguments="p7:ResultsDocumentBounds">
<DelegateArgumentValue x:TypeArguments="p7:ResultsDocumentBounds">
<DelegateInArgument x:TypeArguments="p7:ResultsDocumentBounds" Name="DocumentBounds" />
</DelegateArgumentValue>
</InArgument>
</p5:MachineLearningExtractor.DocumentBounds>
<p5:MachineLearningExtractor.DocumentObjectModel>
<InArgument x:TypeArguments="p3:Document">
<DelegateArgumentValue x:TypeArguments="p3:Document">
<DelegateInArgument x:TypeArguments="p3:Document" Name="DocumentObjectModel" />
</DelegateArgumentValue>
</InArgument>
</p5:MachineLearningExtractor.DocumentObjectModel>
<p5:MachineLearningExtractor.DocumentPath>
<InArgument x:TypeArguments="x:String">
<DelegateArgumentValue x:TypeArguments="x:String">
<DelegateInArgument x:TypeArguments="x:String" Name="DocumentPath" />
</DelegateArgumentValue>
</InArgument>
</p5:MachineLearningExtractor.DocumentPath>
<p5:MachineLearningExtractor.DocumentText>
<InArgument x:TypeArguments="x:String">
<DelegateArgumentValue x:TypeArguments="x:String">
<DelegateInArgument x:TypeArguments="x:String" Name="DocumentText" />
</DelegateArgumentValue>
</InArgument>
</p5:MachineLearningExtractor.DocumentText>
<p5:MachineLearningExtractor.ExtractorDocumentType>
<InArgument x:TypeArguments="p6:ExtractorDocumentType">
<DelegateArgumentValue x:TypeArguments="p6:ExtractorDocumentType">
<DelegateInArgument x:TypeArguments="p6:ExtractorDocumentType" Name="ExtractorDocumentType" />
</DelegateArgumentValue>
</InArgument>
</p5:MachineLearningExtractor.ExtractorDocumentType>
<p5:MachineLearningExtractor.ExtractorResult>
<OutArgument x:TypeArguments="p6:ExtractorResult">
<DelegateArgumentReference x:TypeArguments="p6:ExtractorResult">
<DelegateOutArgument x:TypeArguments="p6:ExtractorResult" Name="ExtractorResult" />
</DelegateArgumentReference>
</OutArgument>
</p5:MachineLearningExtractor.ExtractorResult>
</p5:MachineLearningExtractor>
</p4:DataExtractionScope.Extractors>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">False</x:Boolean>
<x:Boolean x:Key="IsPinned">False</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</p4:DataExtractionScope>
<If Condition="[classificationResult(0).Confidence < 0.9]" sap:VirtualizedContainerService.HintSize="484,542" sap2010:WorkflowViewState.IdRef="If_1">
<If.Then>
<p:PresentValidationStation AutomaticExtractionResults="[extractionResults]" DisplayName="Present Validation Station" DocumentObjectModel="[DOM]" DocumentPath="[docPath]" DocumentText="[docText]" sap:VirtualizedContainerService.HintSize="334,365" sap2010:WorkflowViewState.IdRef="PresentValidationStation_1" Taxonomy="[taxonomy]" ValidatedExtractionResults="[validateResult]" />
</If.Then>
</If>
<p4:ExportExtractionResults DataSet="[dataSetResult]" DisplayName="Export Extraction Results" ExtractionResult="[validateResult]" sap:VirtualizedContainerService.HintSize="484,173" sap2010:WorkflowViewState.IdRef="ExportExtractionResults_1" IncludeConfidence="False" IncludeOCRConfidence="False" />
<ui:AddDataColumn x:TypeArguments="x:String" AllowDBNull="{x:Null}" AutoIncrement="{x:Null}" Column="{x:Null}" DefaultValue="{x:Null}" MaxLength="{x:Null}" Unique="{x:Null}" ColumnName="docType" DataTable="[dataSetResult.Tables(0)]" DisplayName="Add Data Column" sap:VirtualizedContainerService.HintSize="484,22" sap2010:WorkflowViewState.IdRef="AddDataColumn`1_1" />
<Assign sap:VirtualizedContainerService.HintSize="484,60" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="x:Object">[dataSetResult.Tables(0).Rows(0)("docType")]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Object">[extractionResults.ResultsDocument.DocumentTypeName]</InArgument>
</Assign.Value>
</Assign>
<ui:MergeDataTable Destination="[dtOutput]" DisplayName="Merge Data Table" sap:VirtualizedContainerService.HintSize="484,22" sap2010:WorkflowViewState.IdRef="MergeDataTable_1" MissingSchemaAction="Add" Source="[dataSetResult.Tables(0)]" />
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
</ui:ForEach>
<ui:WriteRange AddHeaders="True" DataTable="[dtOutput]" DisplayName="Write Range" sap:VirtualizedContainerService.HintSize="562,115" sap2010:WorkflowViewState.IdRef="WriteRange_1" SheetName="Sheet1" StartingCell="A1" WorkbookPath="Result.xlsx" />
</Sequence>
</Activity>