-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMultiReview.xaml
289 lines (289 loc) · 20.5 KB
/
MultiReview.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
<Activity mc:Ignorable="sap sap2010" x:Class="MultiReview" VisualBasic.Settings="{x:Null}" sap2010:WorkflowViewState.IdRef="MultiReview_1" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" 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:ui="http://schemas.uipath.com/workflow/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>UiPath.Platform.ResourceHandling</x:String>
<x:String>System.ComponentModel</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>UiPath.CSV</x:String>
<x:String>UiPath.CSV.Activities</x:String>
<x:String>System.Reflection</x:String>
<x:String>System.Linq.Expressions</x:String>
<x:String>UiPath.DataTableUtilities</x:String>
<x:String>System.Numerics</x:String>
<x:String>System.Activities.Runtime.Collections</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</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>UiPath.Studio.Constants</AssemblyReference>
<AssemblyReference>System.Private.ServiceModel</AssemblyReference>
<AssemblyReference>System.Private.DataContractSerialization</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Formatters</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Primitives</AssemblyReference>
<AssemblyReference>UiPath.Platform</AssemblyReference>
<AssemblyReference>System.ComponentModel.EventBasedAsync</AssemblyReference>
<AssemblyReference>PresentationFramework</AssemblyReference>
<AssemblyReference>WindowsBase</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.ComponentModel.Primitives</AssemblyReference>
<AssemblyReference>System.Private.Xml</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>System.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
<AssemblyReference>System.Linq.Async</AssemblyReference>
<AssemblyReference>System.Collections</AssemblyReference>
<AssemblyReference>System.Collections.NonGeneric</AssemblyReference>
<AssemblyReference>System.Linq.Expressions</AssemblyReference>
<AssemblyReference>System.Data.SqlClient</AssemblyReference>
<AssemblyReference>System.Runtime.Numerics</AssemblyReference>
<AssemblyReference>System.Linq.Async.Queryable</AssemblyReference>
<AssemblyReference>System.Linq.Parallel</AssemblyReference>
<AssemblyReference>System.Collections.Immutable</AssemblyReference>
<AssemblyReference>System.Linq.Queryable</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationNext</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="MultiReview" sap:VirtualizedContainerService.HintSize="2796,3927" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="ProductListPath" />
<Variable x:TypeArguments="sd:DataTable" Name="dtProductList" />
<Variable x:TypeArguments="sd:DataTable" Name="dtNames" />
<Variable x:TypeArguments="x:Int32" Name="reviewCount" />
<Variable x:TypeArguments="x:String" Name="name" />
<Variable x:TypeArguments="x:String" Name="url" />
<Variable x:TypeArguments="x:Int32" Name="namecount" />
<Variable x:TypeArguments="x:Int32" Name="batchSize" />
<Variable x:TypeArguments="sd:DataTable" Name="batch" />
<Variable x:TypeArguments="sd:DataTable" Name="plistbatch" />
<Variable x:TypeArguments="sd:DataTable" Name="batch2" />
<Variable x:TypeArguments="x:Int32" Name="index" />
<Variable x:TypeArguments="x:Int32" Name="index_1" />
</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:SelectFile DisplayName="Browse For File" Filter="CSV|*.csv" sap:VirtualizedContainerService.HintSize="706,170" sap2010:WorkflowViewState.IdRef="SelectFile_1" SelectedFile="[ProductListPath]" />
<ui:ReadCsvFile PathResource="{x:Null}" DataTable="[dtNames]" Delimitator="Comma" DelimitatorForViewModel="Comma" DisplayName="Read CSV" FilePath="C:\Users\bykui\Downloads\niemcy_imiona_nazwiska.csv" sap:VirtualizedContainerService.HintSize="706,186" sap2010:WorkflowViewState.IdRef="ReadCsvFile_2" IncludeColumnNames="False" />
<ui:ReadCsvFile PathResource="{x:Null}" DataTable="[dtProductList]" Delimitator="Comma" DelimitatorForViewModel="Comma" DisplayName="Read CSV" FilePath="[ProductListPath]" sap:VirtualizedContainerService.HintSize="706,186" sap2010:WorkflowViewState.IdRef="ReadCsvFile_3" />
<ui:InterruptibleWhile CurrentIndex="[index_1]" DisplayName="While" sap:VirtualizedContainerService.HintSize="706,3362" sap2010:WorkflowViewState.IdRef="InterruptibleWhile_3">
<ui:InterruptibleWhile.Body>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="672,3225" 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>
<Assign sap:VirtualizedContainerService.HintSize="638,114" sap2010:WorkflowViewState.IdRef="Assign_16">
<Assign.To>
<OutArgument x:TypeArguments="sd:DataTable">[batch]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="sd:DataTable">[dtNames.AsEnumerable().skip(index).Take(5).CopyToDataTable]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="638,114" sap2010:WorkflowViewState.IdRef="Assign_19">
<Assign.To>
<OutArgument x:TypeArguments="sd:DataTable">[batch2]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="sd:DataTable">[dtProductList.AsEnumerable().skip(index).Take(5).CopyToDataTable]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="638,114" sap2010:WorkflowViewState.IdRef="Assign_23">
<Assign.To>
<OutArgument x:TypeArguments="sd:DataTable">[dtProductList]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="sd:DataTable">[dtProductList.AsEnumerable().skip(index).CopyToDataTable]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="638,114" sap2010:WorkflowViewState.IdRef="Assign_24">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[index]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[index+ 5]</InArgument>
</Assign.Value>
</Assign>
<ui:ForEachRow ColumnNames="{x:Null}" CurrentIndex="{x:Null}" DataTable="[batch]" DisplayName="For Each Row in Data Table" sap:VirtualizedContainerService.HintSize="638,2490" sap2010:WorkflowViewState.IdRef="ForEachRow_3">
<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="604,2294" sap2010:WorkflowViewState.IdRef="Sequence_19">
<Sequence.Variables>
<Variable x:TypeArguments="x:Int32" Name="index_3" />
</Sequence.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>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:GetRowItem Column="{x:Null}" ColumnName="{x:Null}" ColumnIndex="0" DisplayName="Get Row Item" sap:VirtualizedContainerService.HintSize="570,219" sap2010:WorkflowViewState.IdRef="GetRowItem_3" Row="[CurrentRow]">
<ui:GetRowItem.Value>
<OutArgument x:TypeArguments="x:String">[name]</OutArgument>
</ui:GetRowItem.Value>
</ui:GetRowItem>
<Assign sap:VirtualizedContainerService.HintSize="570,114" sap2010:WorkflowViewState.IdRef="Assign_17">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[reviewCount]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">1</InArgument>
</Assign.Value>
</Assign>
<ui:ForEachRow ColumnNames="{x:Null}" CurrentIndex="[index_3]" DataTable="[batch2]" DisplayName="For Each Row in Data Table" sap:VirtualizedContainerService.HintSize="570,1788" sap2010:WorkflowViewState.IdRef="ForEachRow_5">
<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="536,1592" 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>
<If Condition="[reviewCount>5]" sap:VirtualizedContainerService.HintSize="502,1532" sap2010:WorkflowViewState.IdRef="If_2">
<If.Then>
<Sequence DisplayName="Then" sap:VirtualizedContainerService.HintSize="416,417" sap2010:WorkflowViewState.IdRef="Sequence_15">
<Sequence.Variables>
<Variable x:TypeArguments="sd:DataTable" Name="resetnames" />
</Sequence.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>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="382,122" sap2010:WorkflowViewState.IdRef="WriteLine_6" Text="["Review Count" & reviewCount.ToString]" />
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="382,122" sap2010:WorkflowViewState.IdRef="WriteLine_7" Text="Processing next name after 5 reviews" />
<Delay Duration="00:00:00" sap:VirtualizedContainerService.HintSize="382,113" sap2010:WorkflowViewState.IdRef="Delay_3" />
</Sequence>
</If.Then>
<If.Else>
<Sequence DisplayName="Else" sap:VirtualizedContainerService.HintSize="468,954" sap2010:WorkflowViewState.IdRef="Sequence_16">
<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:GetRowItem Column="{x:Null}" ColumnName="{x:Null}" ColumnIndex="0" DisplayName="Get Row Item" sap:VirtualizedContainerService.HintSize="434,219" sap2010:WorkflowViewState.IdRef="GetRowItem_4" Row="[CurrentRow]">
<ui:GetRowItem.Value>
<OutArgument x:TypeArguments="x:String">[url]</OutArgument>
</ui:GetRowItem.Value>
</ui:GetRowItem>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="434,122" sap2010:WorkflowViewState.IdRef="WriteLine_8" Text="["Review Count" & reviewCount.ToString]" />
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="434,122" sap2010:WorkflowViewState.IdRef="WriteLine_9" Text="["Name : " & name & " URL:"&url]" />
<ui:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="MainMulti - Invoke Workflow File (MainMulti.xaml)" sap:VirtualizedContainerService.HintSize="434,204" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_3" UnSafe="False" WorkflowFileName="MainMulti.xaml">
<ui:InvokeWorkflowFile.Arguments>
<InArgument x:TypeArguments="x:String" x:Key="url">[url]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="name">[name]</InArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
<Assign sap:VirtualizedContainerService.HintSize="434,114" sap2010:WorkflowViewState.IdRef="Assign_20">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[reviewCount]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[reviewCount +1]</InArgument>
</Assign.Value>
</Assign>
<Delay Duration="00:00:03" sap:VirtualizedContainerService.HintSize="434,113" sap2010:WorkflowViewState.IdRef="Delay_4" />
</Sequence>
</If.Else>
</If>
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
</ui:ForEachRow>
<Delay Duration="00:15:00" sap:VirtualizedContainerService.HintSize="570,113" sap2010:WorkflowViewState.IdRef="Delay_5" />
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
</ui:ForEachRow>
<Assign sap:VirtualizedContainerService.HintSize="638,114" sap2010:WorkflowViewState.IdRef="Assign_21">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[index]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[index+ batchSize]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="638,105" sap2010:WorkflowViewState.IdRef="Assign_22">
<Assign.To>
<OutArgument x:TypeArguments="sd:DataTable">[dtNames]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="sd:DataTable">[dtNames.AsEnumerable.Skip(batchSize).CopyToDataTable]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</ui:InterruptibleWhile.Body>
<ui:InterruptibleWhile.Condition>
<VisualBasicValue x:TypeArguments="x:Boolean" DisplayName="Visual basic value" ExpressionText="index<dtNames.RowCount" sap2010:WorkflowViewState.IdRef="VisualBasicValue`1_2" />
</ui:InterruptibleWhile.Condition>
</ui:InterruptibleWhile>
</Sequence>
</Activity>