-
Notifications
You must be signed in to change notification settings - Fork 0
/
2Extract Fancy Number.xaml
268 lines (268 loc) · 23.4 KB
/
2Extract Fancy Number.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
<Activity mc:Ignorable="sap sap2010" x:Class="Extract_Fancy_Number" 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: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:x="http://schemas.microsoft.com/winfx/2006/xaml">
<x:Members>
<x:Property Name="place" Type="InArgument(x:String)" />
</x:Members>
<mva:VisualBasic.Settings>
<x:Null />
</mva:VisualBasic.Settings>
<sap:VirtualizedContainerService.HintSize>512,3311</sap:VirtualizedContainerService.HintSize>
<sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef>
<TextExpression.NamespacesForImplementation>
<scg:List x:TypeArguments="x:String" Capacity="22">
<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>System.Windows.Markup</x:String>
<x:String>UiPath.Core</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Xml.Serialization</x:String>
</scg:List>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<scg:List x:TypeArguments="AssemblyReference" Capacity="19">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System.Data.DataSetExtensions</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.ServiceModel</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
</scg:List>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="Extract Fancy Number" sap:VirtualizedContainerService.HintSize="472,3231" sap2010:WorkflowViewState.IdRef="Sequence_3">
<Sequence.Variables>
<Variable x:TypeArguments="sd:DataTable" Name="ExtractDataTable" />
<Variable x:TypeArguments="sd:DataTable" Name="buildDt" />
<Variable x:TypeArguments="sd:DataTable" Name="BookedDT" />
<Variable x:TypeArguments="sd:DataTable" Name="countDT" />
<Variable x:TypeArguments="x:Int32" Default="0" Name="Bookedcount" />
<Variable x:TypeArguments="x:Int32" Default="0" Name="Opencount" />
</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:BrowserScope Browser="{x:Null}" SearchScope="{x:Null}" TimeoutMS="{x:Null}" UiBrowser="{x:Null}" BrowserType="IE" DisplayName="Attach Browser 'Pop up page MVD'" sap:VirtualizedContainerService.HintSize="450,3107" sap2010:WorkflowViewState.IdRef="BrowserScope_1" InformativeScreenshot="6758e19e3db17224ff0d4ae25903a3be" Selector="<html title='Kerala Motor Vehicles Dept : Reservation Status' />">
<ui:BrowserScope.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="ContextTarget" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="436,2961" 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:ExtractData ContinueOnError="True" DataTable="[ExtractDataTable]" DelayBetweenPagesMS="300" DisplayName="Extract Structured Data " ExtractMetadata="<extract-table get_columns_name='1' get_empty_columns='1' />" sap:VirtualizedContainerService.HintSize="414,106" sap2010:WorkflowViewState.IdRef="ExtractData_2" MaxNumberOfResults="300" NextLinkSelector="<webctrl id='btnNext' tag='INPUT' />">
<ui:ExtractData.Target>
<ui:Target ClippingRegion="{x:Null}" Element="{x:Null}" TimeoutMS="{x:Null}" InformativeScreenshot="8c1cf8c0f3ae67a3664f7eb1e9f0565d" Selector="<webctrl idx='2' parentid='divlistreservation' tag='TABLE' />" WaitForReady="COMPLETE" />
</ui:ExtractData.Target>
</ui:ExtractData>
<ui:FilterDataTable DataTable="[ExtractDataTable]" DisplayName="Filter Data Table" FilterRowsMode="Remove" sap:VirtualizedContainerService.HintSize="414,59" sap2010:WorkflowViewState.IdRef="FilterDataTable_1" OutputDataTable="[ExtractDataTable]" SelectColumnsMode="Keep">
<ui:FilterDataTable.Filters>
<scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
<ui:FilterOperationArgument BooleanOperator="And" Operator="CONTAINS">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:Int32">[0]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["SlNo"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="Or" Operator="CONTAINS">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:Int32">[0]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["Now showing the record"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="Or" Operator="CONTAINS">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:Int32">[0]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["101"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument Operand="{x:Null}" BooleanOperator="Or" Operator="EMPTY">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:Int32">[0]</InArgument>
</ui:FilterOperationArgument.Column>
</ui:FilterOperationArgument>
</scg:List>
</ui:FilterDataTable.Filters>
<ui:FilterDataTable.SelectColumns>
<scg:List x:TypeArguments="InArgument" Capacity="4">
<x:Null />
</scg:List>
</ui:FilterDataTable.SelectColumns>
</ui:FilterDataTable>
<ui:RemoveDataColumn Column="{x:Null}" ColumnName="{x:Null}" ColumnIndex="0" DataTable="[ExtractDataTable]" DisplayName="Remove Data Column" sap:VirtualizedContainerService.HintSize="414,22" sap2010:WorkflowViewState.IdRef="RemoveDataColumn_1" />
<ui:RemoveDuplicateRows DataTable="[ExtractDataTable]" DisplayName="Remove Duplicate Rows" sap:VirtualizedContainerService.HintSize="414,22" sap2010:WorkflowViewState.IdRef="RemoveDuplicateRows_1" OutputDataTable="[ExtractDataTable]" />
<ui:BuildDataTable DataTable="[buildDt]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="414,59" 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="Reg_x0020_Number" type="xs:string" minOccurs="0" />
 <xs:element name="Reservation_x0020_Fee_x0020_" type="xs:string" minOccurs="0" />
 <xs:element name="Status" 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="[{"Reg Number","Reservation Fee","Status"}]" DataTable="[buildDt]" DisplayName="Add Data Row" sap:VirtualizedContainerService.HintSize="414,22" sap2010:WorkflowViewState.IdRef="AddDataRow_1" />
<ui:CreateDirectory ContinueOnError="{x:Null}" DisplayName="Create Directory" sap:VirtualizedContainerService.HintSize="414,22" sap2010:WorkflowViewState.IdRef="CreateDirectory_1" Path="C:\Users\KEY7\Downloads\EY_Usecase\EY_Usecase\fancyNumberList" />
<ui:ExcelApplicationScope Password="{x:Null}" DisplayName="Excel Application Scope" sap:VirtualizedContainerService.HintSize="414,2245" sap2010:WorkflowViewState.IdRef="ExcelApplicationScope_1" WorkbookPath="["fancyNumberList/"+place+".xlsx"]">
<ui:ExcelApplicationScope.Body>
<ActivityAction x:TypeArguments="ui:WorkbookApplication">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="ui:WorkbookApplication" Name="ExcelWorkbookScope" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="336,2136" sap2010:WorkflowViewState.IdRef="Sequence_1">
<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:ExcelWriteRange AddHeaders="False" DataTable="[buildDt]" DisplayName="Write Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelWriteRange_1" SheetName="All List" StartingCell="A1" />
<ui:ExcelAppendRange DataTable="[ExtractDataTable]" DisplayName="Append Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelAppendRange_1" SheetName="All List" />
<ui:FilterDataTable DataTable="[ExtractDataTable]" DisplayName="Filter Data Table" FilterRowsMode="Keep" sap:VirtualizedContainerService.HintSize="314,59" sap2010:WorkflowViewState.IdRef="FilterDataTable_2" OutputDataTable="[BookedDT]" SelectColumnsMode="Keep">
<ui:FilterDataTable.Filters>
<scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
<ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Status"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["ISSUED"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="Or" Operator="EQ">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Status"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["GRANTED"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
<ui:FilterOperationArgument BooleanOperator="Or" Operator="EQ">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Status"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["BOOKED"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
</scg:List>
</ui:FilterDataTable.Filters>
<ui:FilterDataTable.SelectColumns>
<scg:List x:TypeArguments="InArgument" Capacity="4">
<x:Null />
</scg:List>
</ui:FilterDataTable.SelectColumns>
</ui:FilterDataTable>
<ui:ExcelWriteRange AddHeaders="False" DataTable="[buildDt]" DisplayName="Write Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelWriteRange_2" SheetName="Booked" StartingCell="A1" />
<ui:ExcelAppendRange DataTable="[BookedDT]" DisplayName="Append Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelAppendRange_2" SheetName="Booked" />
<ui:ForEachRow CurrentIndex="{x:Null}" DataTable="[BookedDT]" DisplayName="For Each Row" sap:VirtualizedContainerService.HintSize="314,331" sap2010:WorkflowViewState.IdRef="ForEachRow_1">
<ui:ForEachRow.Body>
<ActivityAction x:TypeArguments="sd:DataRow">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="sd:DataRow" Name="row" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="264,184" 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>
<Assign sap:VirtualizedContainerService.HintSize="242,60" sap2010:WorkflowViewState.IdRef="Assign_1">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[Bookedcount]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[Bookedcount+1]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
</ui:ForEachRow>
<ui:FilterDataTable DataTable="[BookedDT]" DisplayName="Filter Data Table" FilterRowsMode="Keep" sap:VirtualizedContainerService.HintSize="314,59" sap2010:WorkflowViewState.IdRef="FilterDataTable_3" OutputDataTable="[BookedDT]" SelectColumnsMode="Keep">
<ui:FilterDataTable.Filters>
<scg:List x:TypeArguments="ui:FilterOperationArgument" Capacity="4">
<ui:FilterOperationArgument BooleanOperator="And" Operator="EQ">
<ui:FilterOperationArgument.Column>
<InArgument x:TypeArguments="x:String">["Status"]</InArgument>
</ui:FilterOperationArgument.Column>
<ui:FilterOperationArgument.Operand>
<InArgument x:TypeArguments="x:String">["OPEN"]</InArgument>
</ui:FilterOperationArgument.Operand>
</ui:FilterOperationArgument>
</scg:List>
</ui:FilterDataTable.Filters>
<ui:FilterDataTable.SelectColumns>
<scg:List x:TypeArguments="InArgument" Capacity="4">
<x:Null />
</scg:List>
</ui:FilterDataTable.SelectColumns>
</ui:FilterDataTable>
<ui:ExcelWriteRange AddHeaders="False" DataTable="[BookedDT]" DisplayName="Write Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelWriteRange_3" SheetName="Open" StartingCell="A1" />
<ui:ExcelAppendRange DataTable="[BookedDT]" DisplayName="Append Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelAppendRange_3" SheetName="Open" />
<ui:ForEachRow CurrentIndex="{x:Null}" DataTable="[BookedDT]" DisplayName="For Each Row" sap:VirtualizedContainerService.HintSize="314,331" sap2010:WorkflowViewState.IdRef="ForEachRow_2">
<ui:ForEachRow.Body>
<ActivityAction x:TypeArguments="sd:DataRow">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="sd:DataRow" Name="row" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="264,184" 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>
<Assign sap:VirtualizedContainerService.HintSize="242,60" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="x:Int32">[Opencount]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:Int32">[Opencount+1]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
</ui:ForEachRow>
<ui:BuildDataTable DataTable="[countDT]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="314,59" sap2010:WorkflowViewState.IdRef="BuildDataTable_2" 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="Count" type="xs:string" minOccurs="0" />
 </xs:sequence>
 </xs:complexType>
 </xs:element>
 </xs:choice>
 </xs:complexType>
 </xs:element>
 </xs:schema>
 <TableName>
 <Count>Count</Count>
 </TableName>
</NewDataSet>" />
<ui:AddDataRow DataRow="{x:Null}" ArrayRow="[{Bookedcount}]" DataTable="[countDT]" DisplayName="Add Data Row" sap:VirtualizedContainerService.HintSize="314,22" sap2010:WorkflowViewState.IdRef="AddDataRow_2" />
<ui:AddDataRow DataRow="{x:Null}" ArrayRow="[{Opencount}]" DataTable="[countDT]" DisplayName="Add Data Row" sap:VirtualizedContainerService.HintSize="314,22" sap2010:WorkflowViewState.IdRef="AddDataRow_3" />
<ui:ExcelAppendRange DataTable="[countDT]" DisplayName="Append Range" sap:VirtualizedContainerService.HintSize="314,87" sap2010:WorkflowViewState.IdRef="ExcelAppendRange_4" SheetName="Count" />
</Sequence>
</ActivityAction>
</ui:ExcelApplicationScope.Body>
</ui:ExcelApplicationScope>
</Sequence>
</ActivityAction>
</ui:BrowserScope.Body>
</ui:BrowserScope>
</Sequence>
</Activity>