-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathLearnTeams.xaml
604 lines (604 loc) · 52.1 KB
/
LearnTeams.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
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
<Activity mc:Ignorable="sap sap2010" x:Class="Main" mva:VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="1974.8,4794.4" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:maes="clr-namespace:Microsoft.Activities.Extensions.Statements;assembly=Microsoft.Activities.Extensions" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mg="clr-namespace:Microsoft.Graph;assembly=Microsoft.Graph.Beta" xmlns:mva="clr-namespace:Microsoft.VisualBasic.Activities;assembly=System.Activities" 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.Data;assembly=System.Data" xmlns:ui="http://schemas.uipath.com/workflow/activities" xmlns:uma="clr-namespace:UiPath.MicrosoftTeams.Activities;assembly=UiPath.MicrosoftTeams.Activities" xmlns:umat="clr-namespace:UiPath.MicrosoftTeams.Activities.Teams;assembly=UiPath.MicrosoftTeams.Activities" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="40">
<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>Microsoft.Graph</x:String>
<x:String>System.Security</x:String>
<x:String>UiPath.MicrosoftTeams.Enums</x:String>
<x:String>System.Collections.ObjectModel</x:String>
<x:String>UiPath.MicrosoftTeams.Activities</x:String>
<x:String>System.Activities.DynamicUpdate</x:String>
<x:String>UiPath.Shared.Activities</x:String>
<x:String>UiPath.MicrosoftTeams.Activities.Teams</x:String>
<x:String>System.Reflection</x:String>
<x:String>System.Runtime.InteropServices</x:String>
<x:String>System.Runtime.Serialization</x:String>
<x:String>Microsoft.Activities.Extensions.Statements</x:String>
<x:String>Microsoft.VisualBasic.CompilerServices</x:String>
<x:String>UiPath.Excel</x:String>
<x:String>UiPath.Excel.Activities.Business</x:String>
<x:String>System.ComponentModel</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>UiPath.Excel.Activities</x:String>
<x:String>UiPath.DataTableUtilities</x:String>
</scg:List>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<scg:List x:TypeArguments="AssemblyReference" Capacity="72">
<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>Microsoft.Graph.Beta</AssemblyReference>
<AssemblyReference>Microsoft.Graph.Core</AssemblyReference>
<AssemblyReference>UiPath.MicrosoftTeams</AssemblyReference>
<AssemblyReference>UiPath.MicrosoftTeams.Activities</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>UiPath.OCR.Activities</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Collections.Immutable</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>Microsoft.Bcl.AsyncInterfaces</AssemblyReference>
<AssemblyReference>System.ValueTuple</AssemblyReference>
<AssemblyReference>System.ComponentModel.Composition</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization</AssemblyReference>
<AssemblyReference>Microsoft.Activities.Extensions</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>System.Runtime.WindowsRuntime</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<Sequence sap:VirtualizedContainerService.HintSize="1984.8,4729.2" sap2010:WorkflowViewState.IdRef="Sequence_2">
<Sequence.Variables>
<Variable x:TypeArguments="scg:Dictionary(x:String, x:String)" Default="[new Dictionary(Of String,String)]" Name="dict" />
<Variable x:TypeArguments="x:Boolean" Default="False" Name="exitloop" />
<Variable x:TypeArguments="x:String" Default=" " Name="lastcomm" />
<Variable x:TypeArguments="sd:DataTable" Name="dt" />
<Variable x:TypeArguments="x:Boolean" Default="False" Name="learning" />
</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:ReadRange Range="{x:Null}" AddHeaders="True" DataTable="[dt]" DisplayName="Read Range" sap:VirtualizedContainerService.HintSize="1942.8,87.2" sap2010:WorkflowViewState.IdRef="ReadRange_1" SheetName="1" WorkbookPath="db.xlsx" />
<ui:ForEachRow ColumnNames="{x:Null}" CurrentIndex="{x:Null}" DataTable="[dt]" DisplayName="For Each Row in Data Table" sap:VirtualizedContainerService.HintSize="1942.8,344.8" sap2010:WorkflowViewState.IdRef="ForEachRow_1">
<ui:ForEachRow.Body>
<ActivityAction x:TypeArguments="sd:DataRow">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="sd:DataRow" Name="CurrentRow" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="439.6,228.8" sap2010:WorkflowViewState.IdRef="Sequence_15">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<maes:AddToDictionary x:TypeArguments="x:String, x:String" Dictionary="[dict]" DisplayName="Add to dictionary" sap:VirtualizedContainerService.HintSize="397.6,136.8" sap2010:WorkflowViewState.IdRef="AddToDictionary`2_1" Key="[CurrentRow(0).ToString]" Value="[CurrentRow(1).ToString]" />
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
</ui:ForEachRow>
<uma:Office365TeamsApplicationScopeV2 ApplicationId="{x:Null}" ContinueOnError="{x:Null}" Password="{x:Null}" SecurePassword="{x:Null}" Tenant="{x:Null}" Timeout="{x:Null}" Username="{x:Null}" AuthenticationType="InteractiveToken" DisplayName="Microsoft Teams Scope" sap:VirtualizedContainerService.HintSize="1942.8,4125.2" sap2010:WorkflowViewState.IdRef="Office365TeamsApplicationScopeV2_1" OAuthApplication="UiPath" Services="Teams">
<uma:Office365TeamsApplicationScopeV2.Body>
<ActivityAction x:TypeArguments="mg:GraphServiceClient">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="mg:GraphServiceClient" Name="MicrosoftTeamsScopeActivity" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="1908.8,4039.2" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="mg:Team[]" Name="listTeams" />
<Variable x:TypeArguments="x:String" Name="teamID" />
<Variable x:TypeArguments="mg:Channel[]" Name="listCh" />
<Variable x:TypeArguments="x:String" Name="chID" />
<Variable x:TypeArguments="mg:Channel" Name="chob" />
<Variable x:TypeArguments="mg:ChatMessage[]" Name="outmess" />
</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>
<umat:GetTeams QueryOptions="{x:Null}" DisplayName="Get Teams" sap:VirtualizedContainerService.HintSize="1866.8,75.2" sap2010:WorkflowViewState.IdRef="GetTeams_1" ListType="MyJoinedTeams" Teams="[listTeams]" />
<ui:ForEach x:TypeArguments="mg:Team" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="1866.8,378.4" sap2010:WorkflowViewState.IdRef="ForEach`1_1" Values="[listTeams]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="mg:Team">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="mg:Team" Name="item" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="304.4,254" 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>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="262.4,62.4" sap2010:WorkflowViewState.IdRef="WriteLine_2" Text="[item.DisplayName]" />
<Assign sap:VirtualizedContainerService.HintSize="262.4,59.6" sap2010:WorkflowViewState.IdRef="Assign_1">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[teamID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[item.Id]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
<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>
</ui:ForEach>
<umat:GetChannels QueryOptions="{x:Null}" Channels="[listCh]" DisplayName="Get Channels" sap:VirtualizedContainerService.HintSize="1866.8,62.4" sap2010:WorkflowViewState.IdRef="GetChannels_1" TeamId="[teamID]" />
<ui:ForEach x:TypeArguments="mg:Channel" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="1866.8,378.4" sap2010:WorkflowViewState.IdRef="ForEach`1_2" Values="[listCh]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="mg:Channel">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="mg:Channel" Name="item" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="304.4,254" 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>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="262.4,62.4" sap2010:WorkflowViewState.IdRef="WriteLine_3" Text="[item.DisplayName]" />
<Assign sap:VirtualizedContainerService.HintSize="262.4,59.6" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[chID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[item.Id]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
<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>
</ui:ForEach>
<ui:InterruptibleDoWhile CurrentIndex="{x:Null}" Condition="[not exitloop]" DisplayName="Do While" sap:VirtualizedContainerService.HintSize="1866.8,2892.8" sap2010:WorkflowViewState.IdRef="InterruptibleDoWhile_1">
<ui:InterruptibleDoWhile.Body>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="1831.2,2725.6" 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>
<umat:GetMessages ChatId="{x:Null}" Limit="{x:Null}" ChannelId="[chID]" DisplayName="Get Messages" sap:VirtualizedContainerService.HintSize="1789.2,115.2" sap2010:WorkflowViewState.IdRef="GetMessages_2" Messages="[outmess]" TeamId="[teamID]" />
<If Condition="[lastcomm<>outmess(0).Body.Content]" sap:VirtualizedContainerService.HintSize="1789.2,2416.4" sap2010:WorkflowViewState.IdRef="If_2">
<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>
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="1753.6,2226.4" sap2010:WorkflowViewState.IdRef="Sequence_20">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence sap:VirtualizedContainerService.HintSize="1711.6,1503.2" sap2010:WorkflowViewState.IdRef="Sequence_9">
<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>
<If Condition="[outmess(0).Body.Content.Contains("K:") and outmess(0).Body.Content.Contains("A:")]" sap:VirtualizedContainerService.HintSize="1669.6,1311.6" sap2010:WorkflowViewState.IdRef="If_4">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="979.6,1118.4" sap2010:WorkflowViewState.IdRef="Sequence_16">
<Sequence.Variables>
<Variable x:TypeArguments="x:Boolean" Name="exist" />
</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>
<If Condition="[learning]" sap:VirtualizedContainerService.HintSize="937.6,1026.4" sap2010:WorkflowViewState.IdRef="If_6">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="902,836.4" sap2010:WorkflowViewState.IdRef="Sequence_22">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<maes:KeyExistsInDictionary x:TypeArguments="x:String, x:String" Dictionary="[dict]" DisplayName="Key exists in dictionary" sap:VirtualizedContainerService.HintSize="860,135.6" sap2010:WorkflowViewState.IdRef="KeyExistsInDictionary`2_2" Key="[outmess(0).Body.Content.Trim.Substring(2,outmess(0).Body.Content.IndexOf("A:")-2).Trim]" Result="[exist]">
<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>
</maes:KeyExistsInDictionary>
<If Condition="[exist]" sap:VirtualizedContainerService.HintSize="860,568.8" sap2010:WorkflowViewState.IdRef="If_5">
<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>
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="376,233.6" sap2010:WorkflowViewState.IdRef="Sequence_18">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" Body="This KEY allready exist in the database" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="334,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_4" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]">
<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>
</umat:ReplyToMessage>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap:VirtualizedContainerService.HintSize="439.6,409.2" sap2010:WorkflowViewState.IdRef="Sequence_19">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<maes:AddToDictionary x:TypeArguments="x:String, x:String" Dictionary="[dict]" DisplayName="Add to dictionary" sap:VirtualizedContainerService.HintSize="397.6,135.6" sap2010:WorkflowViewState.IdRef="AddToDictionary`2_4" Key="[outmess(0).Body.Content.Trim.Substring(2,outmess(0).Body.Content.IndexOf("A:")-2).Trim]" Value="[outmess(0).Body.Content.Substring(outmess(0).Body.Content.IndexOf("A:")+2).Trim]" />
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" Body="["I learned new stuff with KEY:"+outmess(0).Body.Content.Trim.Substring(2,outmess(0).Body.Content.IndexOf("A:")-2).Trim]" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="397.6,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_5" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]">
<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>
</umat:ReplyToMessage>
</Sequence>
</If.Else>
</If>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_23">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</Sequence>
</If.Else>
</If>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap:VirtualizedContainerService.HintSize="645.6,1152" sap2010:WorkflowViewState.IdRef="Sequence_17">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<Sequence DisplayName="Question" sap:VirtualizedContainerService.HintSize="603.6,998" sap2010:WorkflowViewState.IdRef="Sequence_24">
<Sequence.Variables>
<Variable x:TypeArguments="x:Int32" Name="rez" />
<Variable x:TypeArguments="x:Boolean" Name="rezbol" />
</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="561.6,906" sap2010:WorkflowViewState.IdRef="ForEach`1_6" Values="[dict.Keys]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="x:String">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:String" Name="key" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="526,781.6" sap2010:WorkflowViewState.IdRef="Sequence_27">
<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:InvokeCode ContinueOnError="{x:Null}" Code=" Dim n As Integer = str1.Length
 Dim m As Integer = str2.Length
 Dim d(n + 1, m + 1) As Integer
		decision =False

 If n = 0 Then
 nr= m
		Else If m = 0 Then
 nr= n
 Else 
 Dim i As Integer
 Dim j As Integer

 For i = 0 To n
 d(i, 0) = i
 Next

 For j = 0 To m
 d(0, j) = j
 Next

 For i = 1 To n
 For j = 1 To m

 Dim cost As Integer
 If str2(j - 1) = str1(i - 1) Then
 cost = 0
 Else
 cost = 1
 End If

 d(i, j) = Math.Min(Math.Min(d(i - 1, j) + 1, d(i, j - 1) + 1),
 d(i - 1, j - 1) + cost)
 Next
 Next
nr = d(n, m)
End If
If (Math.Truncate((nr * 100) / str1.Length) <= (100-percent)) 
	decision = True
End If" DisplayName="Invoke code" sap:VirtualizedContainerService.HintSize="484,164" sap2010:WorkflowViewState.IdRef="InvokeCode_1">
<ui:InvokeCode.Arguments>
<InArgument x:TypeArguments="x:String" x:Key="str1">
<mva:VisualBasicValue x:TypeArguments="x:String" ExpressionText="outmess(0).Body.Content.Trim.ToLower" />
</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="str2">
<mva:VisualBasicValue x:TypeArguments="x:String" ExpressionText="key.ToLower" />
</InArgument>
<OutArgument x:TypeArguments="x:Int32" x:Key="nr">
<mva:VisualBasicReference x:TypeArguments="x:Int32" ExpressionText="rez" />
</OutArgument>
<OutArgument x:TypeArguments="x:Boolean" x:Key="decision">
<mva:VisualBasicReference x:TypeArguments="x:Boolean" ExpressionText="rezbol" />
</OutArgument>
<InArgument x:TypeArguments="x:Int32" x:Key="percent">
<Literal x:TypeArguments="x:Int32" Value="70" />
</InArgument>
</ui:InvokeCode.Arguments>
</ui:InvokeCode>
<If Condition="[rezbol]" sap:VirtualizedContainerService.HintSize="484,485.6" sap2010:WorkflowViewState.IdRef="If_7">
<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>
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="376,295.6" sap2010:WorkflowViewState.IdRef="Sequence_26">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" Body="[dict(key)]" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="334,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_6" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]">
<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>
</umat:ReplyToMessage>
<ui:Break sap:VirtualizedContainerService.HintSize="334,22" sap2010:WorkflowViewState.IdRef="Break_1" />
</Sequence>
</If.Then>
</If>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
<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>
</ui:ForEach>
</Sequence>
<ui:CommentOut DisplayName="Comment Out" sap:VirtualizedContainerService.HintSize="603.6,22" sap2010:WorkflowViewState.IdRef="CommentOut_3">
<ui:CommentOut.Body>
<Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="242,114" sap2010:WorkflowViewState.IdRef="Sequence_30">
<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="200,22" sap2010:WorkflowViewState.IdRef="ForEach`1_3" Values="[outmess(0).Body.Content.Split(" "C)]">
<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,691.2" sap2010:WorkflowViewState.IdRef="Sequence_5">
<Sequence.Variables>
<Variable x:TypeArguments="x:Boolean" Name="rez" />
</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>
<maes:KeyExistsInDictionary x:TypeArguments="x:String, x:String" Dictionary="[dict]" DisplayName="Key exists in dictionary" sap:VirtualizedContainerService.HintSize="484,135.6" sap2010:WorkflowViewState.IdRef="KeyExistsInDictionary`2_1" Key="[item]" Result="[rez]" />
<If Condition="[rez]" sap:VirtualizedContainerService.HintSize="484,423.6" sap2010:WorkflowViewState.IdRef="If_1">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="376,233.6" 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>
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" Body="[dict(item)]" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="334,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_1" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]">
<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>
</umat:ReplyToMessage>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_7">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</Sequence>
</If.Else>
</If>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
<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>
</ui:ForEach>
</Sequence>
</ui:CommentOut.Body>
<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>
</ui:CommentOut>
</Sequence>
</If.Else>
</If>
<Assign sap:VirtualizedContainerService.HintSize="1669.6,59.6" sap2010:WorkflowViewState.IdRef="Assign_3">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[lastcomm]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[outmess(0).Body.Content]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
<Switch x:TypeArguments="x:String" DisplayName="Switch" Expression="[outmess(0).Body.Content.Trim]" sap:VirtualizedContainerService.HintSize="1711.6,591.2" sap2010:WorkflowViewState.IdRef="Switch`1_1">
<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>
<Sequence x:Key="exit" sap:VirtualizedContainerService.HintSize="200,22" sap2010:WorkflowViewState.IdRef="Sequence_11">
<Sequence.Variables>
<Variable x:TypeArguments="sd:DataTable" Name="dt" />
</Sequence.Variables>
<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>
<Assign sap:VirtualizedContainerService.HintSize="434,59.6" sap2010:WorkflowViewState.IdRef="Assign_4">
<Assign.To>
<OutArgument x:TypeArguments="x:Boolean">[exitloop]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Boolean">True</InArgument>
</Assign.Value>
</Assign>
<ui:BuildDataTable DataTable="[dt]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="434,59.2" 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="Key" msdata:Caption="" type="xs:string" minOccurs="0" />
 <xs:element name="TextVal" msdata:Caption="" type="xs:string" minOccurs="0" />
 </xs:sequence>
 </xs:complexType>
 </xs:element>
 </xs:choice>
 </xs:complexType>
 </xs:element>
 </xs:schema>
</NewDataSet>" />
<ui:ForEach x:TypeArguments="x:String" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="434,406" sap2010:WorkflowViewState.IdRef="ForEach`1_5" Values="[dict.Keys]">
<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="376,281.2" sap2010:WorkflowViewState.IdRef="Sequence_14">
<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:AddDataRow DataRow="{x:Null}" ArrayRow="[{item,dict.Item(item)}]" DataTable="[dt]" DisplayName="Add Data Row" sap:VirtualizedContainerService.HintSize="334,189.2" sap2010:WorkflowViewState.IdRef="AddDataRow_1" />
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
</ui:ForEach>
<ui:WriteRange StartingCell="{x:Null}" AddHeaders="True" DataTable="[dt]" DisplayName="Write Range" sap:VirtualizedContainerService.HintSize="434,115.2" sap2010:WorkflowViewState.IdRef="WriteRange_1" SheetName="1" WorkbookPath="db.xlsx" />
</Sequence>
<Sequence x:Key="stop" sap:VirtualizedContainerService.HintSize="376,333.2" sap2010:WorkflowViewState.IdRef="Sequence_29">
<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="334,59.6" sap2010:WorkflowViewState.IdRef="Assign_5">
<Assign.To>
<OutArgument x:TypeArguments="x:Boolean">[learning]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Boolean">False</InArgument>
</Assign.Value>
</Assign>
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" Body="Leanring is stopped" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="334,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_7" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]" />
</Sequence>
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" x:Key="learn" Body="please provide password in next line" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="334,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_2" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]">
<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>
</umat:ReplyToMessage>
<Sequence x:Key="pass123" sap:VirtualizedContainerService.HintSize="376,333.2" sap2010:WorkflowViewState.IdRef="Sequence_21">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<umat:ReplyToMessage ReplyId="{x:Null}" Subject="{x:Null}" Body="["Pass OK please provide Stuff to learn in this format:"+Environment.NewLine+"K:window A:The usual windows color is white"]" BodyType="Text" ChannelId="[chID]" DisplayName="Reply To Message" sap:VirtualizedContainerService.HintSize="334,141.6" sap2010:WorkflowViewState.IdRef="ReplyToMessage_3" Importance="Normal" MessageId="[outmess(0).Id]" TeamId="[teamID]">
<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>
</umat:ReplyToMessage>
<Assign sap:VirtualizedContainerService.HintSize="334,59.6" sap2010:WorkflowViewState.IdRef="Assign_6">
<Assign.To>
<OutArgument x:TypeArguments="x:Boolean">[learning]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Boolean">True</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</Switch>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_10">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
</Sequence>
</If.Else>
</If>
<Delay Duration="00:00:03" sap:VirtualizedContainerService.HintSize="1789.2,22" sap2010:WorkflowViewState.IdRef="Delay_1" />
</Sequence>
</ui:InterruptibleDoWhile.Body>
<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>
</ui:InterruptibleDoWhile>
</Sequence>
</ActivityAction>
</uma:Office365TeamsApplicationScopeV2.Body>
</uma:Office365TeamsApplicationScopeV2>
</Sequence>
</Activity>