-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMain.xaml
482 lines (482 loc) · 40.7 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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
<Activity mc:Ignorable="sap sap2010" x:Class="Main" VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="969,1065" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:av="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 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=System.Private.CoreLib" xmlns:sco="clr-namespace:System.Collections.ObjectModel;assembly=System.Private.CoreLib" xmlns:sd="clr-namespace:System.Data;assembly=System.Data.Common" xmlns:snm="clr-namespace:System.Net.Mail;assembly=System.Net.Mail" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:um="clr-namespace:UiPath.Mail;assembly=UiPath.Mail.Activities" xmlns:umab="clr-namespace:UiPath.Mail.Activities.Business;assembly=UiPath.Mail.Activities" xmlns:umabh="clr-namespace:UiPath.Mail.Activities.Business.HtmlEditor;assembly=UiPath.Mail.Activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextExpression.NamespacesForImplementation>
<sco:Collection x:TypeArguments="x:String">
<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.Collections.ObjectModel</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>GlobalVariablesNamespace</x:String>
<x:String>GlobalConstantsNamespace</x:String>
<x:String>System.Runtime.Serialization</x:String>
<x:String>System.Reflection</x:String>
<x:String>System.ComponentModel</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>UiPath.Mail</x:String>
<x:String>UiPath.Mail.Activities.Business</x:String>
<x:String>UiPath.Shared.Activities</x:String>
<x:String>UiPath.Shared.Activities.ConnectionService.Contracts</x:String>
<x:String>UiPath.Mail.Activities</x:String>
<x:String>UiPath.Mail.Activities.Utils</x:String>
<x:String>UiPath.Mail.Activities.Business.HtmlEditor</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>PresentationCore</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>System.ComponentModel.TypeConverter</AssemblyReference>
<AssemblyReference>System.Core</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Data.Common</AssemblyReference>
<AssemblyReference>System.Data.DataSetExtensions</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Drawing.Common</AssemblyReference>
<AssemblyReference>System.Drawing.Primitives</AssemblyReference>
<AssemblyReference>System.Linq</AssemblyReference>
<AssemblyReference>System.Net.Mail</AssemblyReference>
<AssemblyReference>System.ObjectModel</AssemblyReference>
<AssemblyReference>System.Private.CoreLib</AssemblyReference>
<AssemblyReference>System.Xaml</AssemblyReference>
<AssemblyReference>System.Xml</AssemblyReference>
<AssemblyReference>System.Xml.Linq</AssemblyReference>
<AssemblyReference>UiPath.System.Activities</AssemblyReference>
<AssemblyReference>UiPath.UiAutomation.Activities</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>UiPath.Studio.Constants</AssemblyReference>
<AssemblyReference>System.Private.ServiceModel</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Formatters</AssemblyReference>
<AssemblyReference>System.Private.DataContractSerialization</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Primitives</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</AssemblyReference>
<AssemblyReference>System.Collections</AssemblyReference>
<AssemblyReference>System.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>UiPath.Workflow</AssemblyReference>
<AssemblyReference>System.Linq.Expressions</AssemblyReference>
<AssemblyReference>System.Linq.Parallel</AssemblyReference>
<AssemblyReference>System.Collections.Immutable</AssemblyReference>
<AssemblyReference>System.Linq.Queryable</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
<AssemblyReference>System.Data.SqlClient</AssemblyReference>
<AssemblyReference>System.ComponentModel.EventBasedAsync</AssemblyReference>
<AssemblyReference>Microsoft.Win32.Primitives</AssemblyReference>
<AssemblyReference>System.ComponentModel.Primitives</AssemblyReference>
<AssemblyReference>System.Private.Xml</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>UiPath.Testing.Activities</AssemblyReference>
<AssemblyReference>UiPath.OCR.Activities</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference>
<AssemblyReference>UiPath.MLServices.Activities</AssemblyReference>
<AssemblyReference>UiPath.Web.Activities</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities.Design</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Flowchart sap2010:Annotation.AnnotationText="Fabricating products with UiPath starting from Order processing, CAD design, Triggering 3D Printing, Initiating Delivery." DisplayName="Autonomous Product Fabrication" sap:VirtualizedContainerService.HintSize="1200,1601" sap2010:WorkflowViewState.IdRef="Flowchart_1">
<Flowchart.Variables>
<Variable x:TypeArguments="snm:MailMessage" Name="mail_Order" />
<Variable x:TypeArguments="x:String" Default="Other" Name="mail_Category" />
<Variable x:TypeArguments="scg:Dictionary(x:String, x:Object)" Name="dict_AreaDetails" />
<Variable x:TypeArguments="scg:Dictionary(x:String, x:Object)" Name="dict_SheetDetails" />
</Flowchart.Variables>
<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>
<av:Point x:Key="ShapeLocation">470,2.5</av:Point>
<av:Size x:Key="ShapeSize">50,50</av:Size>
<x:Boolean x:Key="IsAnnotationDocked">True</x:Boolean>
<av:PointCollection x:Key="ConnectorLocation">495,52.5 495,82.5 490,82.5 490,135</av:PointCollection>
<x:Double x:Key="Width">945</x:Double>
<x:Double x:Key="Height">931.5</x:Double>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Flowchart.StartNode>
<x:Reference>__ReferenceID13</x:Reference>
</Flowchart.StartNode>
<FlowStep x:Name="__ReferenceID13">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">435,135</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
<av:PointCollection x:Key="ConnectorLocation">490,205 490,235 489.5,235 489.5,270</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Fetch Email" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Sequence_2">
<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:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="ReadEmails.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="388,114" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_1" UnSafe="False" WorkflowFileName="Logic\Mail\ReadEmails.xaml">
<ui:InvokeWorkflowFile.Arguments>
<OutArgument x:TypeArguments="snm:MailMessage" x:Key="out_Mail">[mail_Order]</OutArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
</Sequence>
<FlowStep.Next>
<FlowDecision x:Name="__ReferenceID0" Condition="[string.IsNullOrEmpty(mail_Order.Subject)]" DisplayName="Emails ?" sap:VirtualizedContainerService.HintSize="59,59" sap2010:WorkflowViewState.IdRef="FlowDecision_1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<av:Point x:Key="ShapeLocation">460,270</av:Point>
<av:Size x:Key="ShapeSize">59,59</av:Size>
<x:String x:Key="FalseLabel">Order Received</x:String>
<x:String x:Key="TrueLabel">No Orders</x:String>
<av:PointCollection x:Key="TrueConnector">460,299.5 430,299.5 430,300 245,300</av:PointCollection>
<av:PointCollection x:Key="FalseConnector">519,299.5 549,299.5 549,300 735,300</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<FlowDecision.True>
<FlowStep x:Name="__ReferenceID1">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">135,265</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:00" DisplayName="No Emails" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="MessageBox_1" Text="["No Emails Received, Stopping Process..."]">
<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:MessageBox>
</FlowStep>
</FlowDecision.True>
<FlowDecision.False>
<FlowStep x:Name="__ReferenceID2">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">735,265</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
<av:PointCollection x:Key="ConnectorLocation">790,335 790,410.6200000000011 489.5,410.6200000000011 489.5,501</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Classify Email" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Sequence_3">
<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:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="Logic\Mail\ClassifyEmail.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="388,113" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_2" UnSafe="False" WorkflowFileName="Logic\Mail\ClassifyEmail.xaml">
<ui:InvokeWorkflowFile.Arguments>
<InArgument x:TypeArguments="snm:MailMessage" x:Key="in_mail_Order">[mail_Order]</InArgument>
<OutArgument x:TypeArguments="x:String" x:Key="out_mail_Category">[mail_Category]</OutArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
</Sequence>
<FlowStep.Next>
<FlowDecision x:Name="__ReferenceID3" Condition="[not mail_Category.Equals("Order", StringComparison.InvariantCultureIgnoreCase)]" DisplayName="EmailCategory ?" sap:VirtualizedContainerService.HintSize="59,59" sap2010:WorkflowViewState.IdRef="FlowDecision_2">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<av:Point x:Key="ShapeLocation">460,501</av:Point>
<av:Size x:Key="ShapeSize">59,59</av:Size>
<x:String x:Key="FalseLabel">Order</x:String>
<x:String x:Key="TrueLabel">Others</x:String>
<av:PointCollection x:Key="TrueConnector">460,530.5 430,530.5 430,530 245,530</av:PointCollection>
<av:PointCollection x:Key="FalseConnector">519,530.5 549,530.5 549,530 735,530</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<FlowDecision.True>
<FlowStep x:Name="__ReferenceID5">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">135,495</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:00" DisplayName="Email is not an order" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="MessageBox_2" Text="["Email is not an order, Stopping Process..."]">
<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:MessageBox>
</FlowStep>
</FlowDecision.True>
<FlowDecision.False>
<FlowStep x:Name="__ReferenceID4">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">735,495</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
<av:PointCollection x:Key="ConnectorLocation">790,565 790,655.6200000000011 489.5,655.6200000000011 489.5,760</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Extract Email" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Sequence_4">
<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:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="Logic\Mail\ExtractProductDataFromEmail.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="388,113" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_3" UnSafe="False" WorkflowFileName="Logic\Mail\ExtractProductDataFromEmail.xaml">
<ui:InvokeWorkflowFile.Arguments>
<InArgument x:TypeArguments="snm:MailMessage" x:Key="in_mail_Order">[mail_Order]</InArgument>
<OutArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="out_AreaDetails">[dict_AreaDetails]</OutArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
</Sequence>
<FlowStep.Next>
<FlowDecision x:Name="__ReferenceID6" Condition="[dict_AreaDetails.Keys.Count <= 0]" DisplayName="Entities ?" sap:VirtualizedContainerService.HintSize="59,59" sap2010:WorkflowViewState.IdRef="FlowDecision_3">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<av:Point x:Key="ShapeLocation">460,760</av:Point>
<av:Size x:Key="ShapeSize">59,59</av:Size>
<x:String x:Key="FalseLabel">Found</x:String>
<x:String x:Key="TrueLabel">Missing</x:String>
<av:PointCollection x:Key="TrueConnector">460,789.5 430,789.5 430,790 245,790</av:PointCollection>
<av:PointCollection x:Key="FalseConnector">519,789.5 549,789.5 549,790 735,790</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<FlowDecision.True>
<FlowStep x:Name="__ReferenceID8">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">135,755</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:00" DisplayName="Entities are missing" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="MessageBox_3" Text="["Entities are missing, Stopping Process..."]">
<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:MessageBox>
</FlowStep>
</FlowDecision.True>
<FlowDecision.False>
<FlowStep x:Name="__ReferenceID7">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">735,755</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
<av:PointCollection x:Key="ConnectorLocation">790,825 790,921.6200000000011 499.5,921.6200000000011 499.5,1020</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Fetch SKU Specs" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Sequence_5">
<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:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="Logic\WebCrawl\VectorWebSearch.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="388,114" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_4" UnSafe="False" WorkflowFileName="Logic\WebCrawl\VectorWebSearch.xaml">
<ui:InvokeWorkflowFile.Arguments>
<OutArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="out_SheetDetails">[dict_SheetDetails]</OutArgument>
<InArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="in_ProductDetails">[dict_AreaDetails]</InArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
</Sequence>
<FlowStep.Next>
<FlowDecision x:Name="__ReferenceID9" Condition="[dict_SheetDetails.Keys.Count <= 0]" DisplayName="Sheet Details ?" sap:VirtualizedContainerService.HintSize="59,59" sap2010:WorkflowViewState.IdRef="FlowDecision_4">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
<av:Point x:Key="ShapeLocation">470,1020</av:Point>
<av:Size x:Key="ShapeSize">59,59</av:Size>
<x:String x:Key="FalseLabel">Found</x:String>
<x:String x:Key="TrueLabel">Missing</x:String>
<av:PointCollection x:Key="TrueConnector">470,1049.5 440,1049.5 440,1040 245,1040</av:PointCollection>
<av:PointCollection x:Key="FalseConnector">529,1049.5 559,1049.5 559,1050 725,1050</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<FlowDecision.True>
<FlowStep x:Name="__ReferenceID11">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">135,1005</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:00" DisplayName="SKU Specs Missing" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="MessageBox_4" Text="["SKU Specs are missing, Stopping Process..."]">
<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:MessageBox>
</FlowStep>
</FlowDecision.True>
<FlowDecision.False>
<FlowStep x:Name="__ReferenceID10">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">725,1015</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
<av:PointCollection x:Key="ConnectorLocation">780,1085 780,1185</av:PointCollection>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Create Component Art" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Sequence_6">
<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:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="RenderSheet.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="388,113" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_5" UnSafe="False" WorkflowFileName="Logic\ComponentDesign\RenderSheet.xaml">
<ui:InvokeWorkflowFile.Arguments>
<InArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="in_dict_AreaParams">[dict_AreaDetails]</InArgument>
<InArgument x:TypeArguments="scg:Dictionary(x:String, x:Object)" x:Key="in_dict_SheetParams">[dict_SheetDetails]</InArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
</Sequence>
<FlowStep.Next>
<FlowStep x:Name="__ReferenceID12">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">725,1185</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Prepare Invoice" sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Sequence_7">
<Sequence.Variables>
<Variable x:TypeArguments="sd:DataTable" Name="dt_Components" />
<Variable x:TypeArguments="x:String" Name="str_InvoiceFullPath" />
</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:BuildDataTable DataTable="[dt_Components]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="530,60" sap2010:WorkflowViewState.IdRef="BuildDataTable_1" TableInfo="<NewDataSet>
 <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
 <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:MainDataTable="TableName" msdata:UseCurrentLocale="true">
 <xs:complexType>
 <xs:choice minOccurs="0" maxOccurs="unbounded">
 <xs:element name="TableName">
 <xs:complexType>
 <xs:sequence>
 <xs:element name="Item" msdata:Caption="" type="xs:string" minOccurs="0" />
 <xs:element name="Quantity" msdata:Caption="" type="xs:string" minOccurs="0" />
 <xs:element name="Rate" msdata:Caption="" type="xs:string" minOccurs="0" />
 </xs:sequence>
 </xs:complexType>
 </xs:element>
 </xs:choice>
 </xs:complexType>
 </xs:element>
 </xs:schema>
</NewDataSet>" />
<ui:AddDataRow DataRow="{x:Null}" ArrayRow="[{ dict_AreaDetails("Brand").ToString + " " + dict_AreaDetails("Product").ToString + " " + dict_AreaDetails("Product SKU code").ToString,
Math.Ceiling(CDbl(dict_AreaDetails("Area dimensions").ToString.Trim.Split("x"c).First)/CDbl(dict_SheetDetails("sheet_width").ToString)*CDbl(dict_AreaDetails("Area dimensions").ToString.Trim.Split("x"c).Last)/CDbl(dict_SheetDetails("sheet_height").ToString)).ToString,
"1500"}]" DataTable="[dt_Components]" DisplayName="Add Data Row" sap:VirtualizedContainerService.HintSize="530,186" sap2010:WorkflowViewState.IdRef="AddDataRow_1" />
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:03" DisplayName="Message Box" sap:VirtualizedContainerService.HintSize="530,85" sap2010:WorkflowViewState.IdRef="MessageBox_5" Text="["Generating Invoice"]" />
<ui:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="Logic\Invoicing\InvoiceGeneration.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="530,113" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_6" UnSafe="False" WorkflowFileName="Logic\Invoicing\InvoiceGeneration.xaml">
<ui:InvokeWorkflowFile.Arguments>
<InArgument x:TypeArguments="sd:DataTable" x:Key="in_LineItemsTable">[dt_Components]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="in_To">Precision Machine works Inc.</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="in_ShipTo" xml:space="preserve">4028 Cedar Lane Worcester
MA
01610
617-657-8588
[email protected]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="in_DeliveryDate">[dict_AreaDetails("Delivery date").ToString.Trim]</InArgument>
<OutArgument x:TypeArguments="x:String" x:Key="out_InvoiceFullPath">[str_InvoiceFullPath]</OutArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
<umab:GmailApplicationCard ClientId="{x:Null}" ClientSecret="{x:Null}" Account="Please select an account" ConnectionAccountName="[email protected]" ConnectionId="73a1b99a-5290-427b-b388-a0a9fbd4810a" DisplayName="Use Gmail" sap:VirtualizedContainerService.HintSize="530,701" sap2010:WorkflowViewState.IdRef="GmailApplicationCard_1" Timeout="90" UseConnectionService="True">
<umab:GmailApplicationCard.Body>
<ActivityAction x:TypeArguments="um:IMailQuickHandle">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="um:IMailQuickHandle" Name="Gmail" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="496,521" sap2010:WorkflowViewState.IdRef="Sequence_8">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<umab:ReplyToMailX AdditionalCc="{x:Null}" AdditionalTo="{x:Null}" Bcc="{x:Null}" Body="{x:Null}" HtmlBodyFromText="{x:Null}" NewSubject="{x:Null}" DisplayName="Reply To Email" sap:VirtualizedContainerService.HintSize="434,410" sap2010:WorkflowViewState.IdRef="ReplyToMailX_1" IsDraft="False" MailMessage="[mail_Order]" MaxBodyDocumentSizeMB="2" ReplyToAll="False" UseDocumentAsBody="False">
<umab:ReplyToMailX.Files>
<scg:List x:TypeArguments="InArgument(x:String)" Capacity="1">
<InArgument x:TypeArguments="x:String">[str_InvoiceFullPath]</InArgument>
</scg:List>
</umab:ReplyToMailX.Files>
<umab:ReplyToMailX.HtmlBodyFromFile>
<umabh:HtmlContentArgument HtmlBody="{x:Null}" FilePath=".data/HtmlContent0.html">
<umabh:HtmlContentArgument.RuntimeImages>
<scg:Dictionary x:TypeArguments="x:String, InArgument(x:String)" />
</umabh:HtmlContentArgument.RuntimeImages>
<umabh:HtmlContentArgument.ValueMappings>
<scg:List x:TypeArguments="umabh:HtmlValueMappingBase" Capacity="4">
<umabh:HtmlTextValueMapping Name="Value" Value="[dict_AreaDetails("Brand").ToString]" />
</scg:List>
</umabh:HtmlContentArgument.ValueMappings>
</umabh:HtmlContentArgument>
</umab:ReplyToMailX.HtmlBodyFromFile>
</umab:ReplyToMailX>
</Sequence>
</ActivityAction>
</umab:GmailApplicationCard.Body>
<umab:GmailApplicationCard.EmailAddress>
<InArgument x:TypeArguments="x:String">
<Literal x:TypeArguments="x:String" Value="" />
</InArgument>
</umab:GmailApplicationCard.EmailAddress>
</umab:GmailApplicationCard>
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:03" DisplayName="Message Box" sap:VirtualizedContainerService.HintSize="530,85" sap2010:WorkflowViewState.IdRef="MessageBox_6" Text="["Invoice Sent"]" />
</Sequence>
</FlowStep>
</FlowStep.Next>
</FlowStep>
</FlowDecision.False>
</FlowDecision>
</FlowStep.Next>
</FlowStep>
</FlowDecision.False>
</FlowDecision>
</FlowStep.Next>
</FlowStep>
</FlowDecision.False>
</FlowDecision>
</FlowStep.Next>
</FlowStep>
</FlowDecision.False>
</FlowDecision>
</FlowStep.Next>
</FlowStep>
<x:Reference>__ReferenceID0</x:Reference>
<x:Reference>__ReferenceID1</x:Reference>
<x:Reference>__ReferenceID2</x:Reference>
<x:Reference>__ReferenceID3</x:Reference>
<FlowStep>
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<av:Point x:Key="ShapeLocation">735,135</av:Point>
<av:Size x:Key="ShapeSize">110,70</av:Size>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:Comment sap:VirtualizedContainerService.HintSize="110,70" sap2010:WorkflowViewState.IdRef="Comment_1" Text="AI Analyze the Email - Classify + Extract
Hybrid : Spl.AI + Gen.AI">
<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:Comment>
</FlowStep>
<x:Reference>__ReferenceID4</x:Reference>
<x:Reference>__ReferenceID5</x:Reference>
<x:Reference>__ReferenceID6</x:Reference>
<x:Reference>__ReferenceID7</x:Reference>
<x:Reference>__ReferenceID8</x:Reference>
<x:Reference>__ReferenceID9</x:Reference>
<x:Reference>__ReferenceID10</x:Reference>
<x:Reference>__ReferenceID11</x:Reference>
<x:Reference>__ReferenceID12</x:Reference>
</Flowchart>
</Activity>