-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.xaml
285 lines (285 loc) · 38.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
<Activity mc:Ignorable="sap sap2010" x:Class="Main" xmlns="http://schemas.microsoft.com/netfx/2009/xaml/activities" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:s="clr-namespace:System;assembly=System.Private.CoreLib" 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:uix="http://schemas.uipath.com/workflow/activities/uix" 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">
<x:Members>
<x:Property Name="BreakTriggerScopeInArgument" Type="InArgument(x:String)" />
</x:Members>
<VisualBasic.Settings>
<x:Null />
</VisualBasic.Settings>
<sap:VirtualizedContainerService.HintSize>1078,3520</sap:VirtualizedContainerService.HintSize>
<sap2010:WorkflowViewState.IdRef>ActivityBuilder_1</sap2010:WorkflowViewState.IdRef>
<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.Reflection</x:String>
<x:String>UiPath.UIAutomationNext.Enums</x:String>
<x:String>UiPath.UIAutomationCore.Contracts</x:String>
<x:String>UiPath.UIAutomationNext.Activities</x:String>
<x:String>UiPath.Platform.ObjectLibrary</x:String>
<x:String>UiPath.Shared.Activities</x:String>
<x:String>System.ComponentModel</x:String>
<x:String>System.Runtime.Serialization</x:String>
<x:String>System.Xml.Serialization</x:String>
<x:String>UiPath.UIAutomationNext.Models.ExtractData</x:String>
<x:String>UiPath.DataTableUtilities</x:String>
<x:String>Microsoft.VisualBasic.CompilerServices</x:String>
<x:String>UiPath.Mail</x:String>
<x:String>UiPath.Mail.Activities.Business</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>
<x:String>UiPath.Mail.Activities.Business.ForEachMail</x:String>
<x:String>UiPath.Shared.Activities.Business</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.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.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>UiPath.Workflow</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationNext</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationCore</AssemblyReference>
<AssemblyReference>UiPath.UIAutomationNext.Activities</AssemblyReference>
<AssemblyReference>UiPath.Platform</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities</AssemblyReference>
<AssemblyReference>UiPath.Testing.Activities</AssemblyReference>
<AssemblyReference>UiPath.OCR.Activities</AssemblyReference>
<AssemblyReference>System.ComponentModel.EventBasedAsync</AssemblyReference>
<AssemblyReference>Microsoft.Win32.Primitives</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.ComponentModel.Primitives</AssemblyReference>
<AssemblyReference>System.Private.ServiceModel</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Formatters</AssemblyReference>
<AssemblyReference>System.Private.DataContractSerialization</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization.Primitives</AssemblyReference>
<AssemblyReference>System.Private.Xml</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</AssemblyReference>
<AssemblyReference>System.Data.SqlClient</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic.Forms</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic.Core</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities.Design</AssemblyReference>
<AssemblyReference>System.Collections.NonGeneric</AssemblyReference>
<AssemblyReference>System.Collections</AssemblyReference>
<AssemblyReference>System.CodeDom</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence sap:VirtualizedContainerService.HintSize="704,3455" sap2010:WorkflowViewState.IdRef="Sequence_2">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="varCountry" />
<Variable x:TypeArguments="sd:DataTable" Default="[New System.Data.DataTable]" Name="ExtractDataTable" />
<Variable x:TypeArguments="x:String" Name="varTotalCases" />
<Variable x:TypeArguments="x:String" Name="varTotalDeaths" />
<Variable x:TypeArguments="x:String" Name="varTotalRecovered" />
<Variable x:TypeArguments="s:String[]" Name="list_EmailAddresses" />
</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:Comment DisplayName="Assignment Requirements" sap:VirtualizedContainerService.HintSize="662,537" sap2010:WorkflowViewState.IdRef="Comment_1" Text="// Assignment 1: Coronavirus Stat-Alert Bot

Objective

Build a Coronavirus stat-alert bot which scrapes Coronavirus stats (Total Cases, Total Deaths and Total Recovered) from a user inputted country from this website https://www.worldometers.info/coronavirus/ and sends an update email to your friends/family with the scraped data.

Instructions

- Ask the user for a country with an Input Dialog and save the value to a String variable.

- Use the Data Extraction Wizard to scrape the table into a DataTable variable.

- Then use a For Each Row activity to loop through the data table with an if inside the body to filter the data table to keep the stats for the country inputted by the user.

- Save the Total Cases, Total Deaths and Total Recovered values in their own separate String variables.

- Use a For Each activity to loop through an array of email addresses and send an email with the scraped stats to those email addresses using a Send Outlook Mail Message activity." />
<ui:InputDialog Options="{x:Null}" OptionsString="{x:Null}" DisplayName="Prompt users to enter the country they want to search for" sap:VirtualizedContainerService.HintSize="662,239" sap2010:WorkflowViewState.IdRef="InputDialog_2" IsPassword="False" Label="Which country are you interested in learning about?" Title="Enter a Country">
<ui:InputDialog.Result>
<OutArgument x:TypeArguments="x:String">[varCountry]</OutArgument>
</ui:InputDialog.Result>
</ui:InputDialog>
<uix:NApplicationCard AttachMode="SingleWindow" CloseMode="Always" DisplayName="Visit https://www.worldometers.info/coronavirus/ " sap:VirtualizedContainerService.HintSize="662,1439" sap2010:WorkflowViewState.IdRef="NApplicationCard_1" InteractionMode="Background" OpenMode="Always" ScopeGuid="e2881067-4112-48b3-b18a-d2095602122a" Version="V2" WindowResize="Maximize">
<uix:NApplicationCard.Body>
<ActivityAction x:TypeArguments="x:Object">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:Object" Name="WSSessionData" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="628,1222" 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>
<uix:NExtractData AppendResults="False" ContinueOnError="True" DataTable="[ExtractDataTable]" DisplayName="Extract Coronavirus data by countries in DataTable" ExtractDataSettings="<Table xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xmlns:xsd='http://www.w3.org/2001/XMLSchema' Type='Table'>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='#' ReferenceName='#' ReferenceIdx='0'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Country' ReferenceName='Country,&#xA;Other' ReferenceIdx='1'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Country, Other Url' ReferenceName='Country,&#xA;Other Url' ReferenceIdx='2'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Total Cases' ReferenceName='Total&#xA;Cases' ReferenceIdx='3'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='New Cases' ReferenceName='New&#xA;Cases' ReferenceIdx='4'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Total Deaths' ReferenceName='Total&#xA;Deaths' ReferenceIdx='5'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='New Deaths' ReferenceName='New&#xA;Deaths' ReferenceIdx='6'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Total Recovered' ReferenceName='Total&#xA;Recovered' ReferenceIdx='7'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='NumberColumnFormat' DecimalSeparator='.' ThousandsSeparator=',' />
	</Column>
	<Column xsi:type='DataColumn' Name='New Recovered' ReferenceName='New&#xA;Recovered' ReferenceIdx='8'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Active Cases' ReferenceName='Active&#xA;Cases' ReferenceIdx='9'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Serious, Critical' ReferenceName='Serious,&#xA;Critical' ReferenceIdx='10'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Tot Cases/ 1M pop' ReferenceName='Tot Cases/&#xA;1M pop' ReferenceIdx='11'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Deaths/ 1M pop' ReferenceName='Deaths/&#xA;1M pop' ReferenceIdx='12'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Total Tests' ReferenceName='Total&#xA;Tests' ReferenceIdx='13'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Tests/ 1M pop' ReferenceName='Tests/&#xA;1M pop' ReferenceIdx='14'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Population' ReferenceName='Population' ReferenceIdx='15'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Population Url' ReferenceName='Population Url' ReferenceIdx='16'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' Name='Continent' ReferenceName='Continent' ReferenceIdx='17'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Column-16' ReferenceName='Column-16' ReferenceIdx='18'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Column-17' ReferenceName='Column-17' ReferenceIdx='19'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Column-18' ReferenceName='Column-18' ReferenceIdx='20'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Column-19' ReferenceName='Column-19' ReferenceIdx='21'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Column-20' ReferenceName='Column-20' ReferenceIdx='22'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
	<Column xsi:type='DataColumn' IsDeleted='true' Name='Column-21' ReferenceName='Column-21' ReferenceIdx='23'>
		<IsValidName>true</IsValidName>
		<ValidationErrorMessage />
		<IsExtra>false</IsExtra>
		<CanExtractSimilar>false</CanExtractSimilar>
		<Format xsi:type='TextColumnFormat' />
	</Column>
</Table>" ExtractMetadata="<extract-table get_columns_name='1' get_empty_columns='1' columns_name_source='Longest'><column name='#' attr='fulltext' /><column name='Country,&#xA;Other' attr='fulltext' name2='Country,&#xA;Other Url' attr2='href' /><column name='Total&#xA;Cases' attr='fulltext' /><column name='New&#xA;Cases' attr='fulltext' /><column name='Total&#xA;Deaths' attr='fulltext' /><column name='New&#xA;Deaths' attr='fulltext' /><column name='Total&#xA;Recovered' attr='fulltext' /><column name='New&#xA;Recovered' attr='fulltext' /><column name='Active&#xA;Cases' attr='fulltext' /><column name='Serious,&#xA;Critical' attr='fulltext' /><column name='Tot Cases/&#xA;1M pop' attr='fulltext' /><column name='Deaths/&#xA;1M pop' attr='fulltext' /><column name='Total&#xA;Tests' attr='fulltext' /><column name='Tests/&#xA;1M pop' attr='fulltext' /><column name='Population' attr='fulltext' name2='Population Url' attr2='href' /><column name='Continent' attr='fulltext' /><column name='Column-16' attr='fulltext' /><column name='Column-17' attr='fulltext' /><column name='Column-18' attr='fulltext' /><column name='Column-19' attr='fulltext' /><column name='Column-20' attr='fulltext' /><column name='Column-21' attr='fulltext' /></extract-table>" sap:VirtualizedContainerService.HintSize="586,157" sap2010:WorkflowViewState.IdRef="NExtractData_1" LimitExtractionTo="None" MaximumResults="0" ScopeIdentifier="e2881067-4112-48b3-b18a-d2095602122a" Version="V3">
<uix:NExtractData.Target>
<uix:TargetAnchorable DesignTimeRectangle="112, 301, 2004, 13301" DesignTimeScaleFactor="1.3799999952316284" FriendlyName="'#Country,OtherTotalCase…'" FullSelectorArgument="<webctrl id='main_table_countries_today' tag='TABLE' />" Guid="4780b62f-26c1-43fe-a330-f8ed409b1083" InformativeScreenshot="f821c9fc116c6c8ad5addfd1c5ef7e60.png" ScopeSelectorArgument="<html app='chrome.exe' title='COVID - Coronavirus Statistics - Worldometer' />" SearchSteps="Selector" Version="V2" Visibility="Interactive" />
</uix:NExtractData.Target>
</uix:NExtractData>
<ui:ForEachRow ColumnNames="{x:Null}" CurrentIndex="{x:Null}" DataTable="[ExtractDataTable]" DisplayName="Iterate each row in ExtractDataTable" sap:VirtualizedContainerService.HintSize="586,935" 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="552,749" 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>
<If Condition="[CurrentRow("Country").ToString.ToLower = varCountry.ToLower]" DisplayName="Check if the row is for the country inputted by the user" sap:VirtualizedContainerService.HintSize="510,661" sap2010:WorkflowViewState.IdRef="If_1">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="476,479" 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 DisplayName="Get Total Cases" sap:VirtualizedContainerService.HintSize="434,82" sap2010:WorkflowViewState.IdRef="Assign_1">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varTotalCases]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[CurrentRow("Total Cases").ToString]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get Total Deaths" sap:VirtualizedContainerService.HintSize="434,82" sap2010:WorkflowViewState.IdRef="Assign_2">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varTotalDeaths]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[CurrentRow("Total Deaths").ToString]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Get Total Recovered" sap:VirtualizedContainerService.HintSize="434,82" sap2010:WorkflowViewState.IdRef="Assign_3">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[varTotalRecovered]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[CurrentRow("Total Recovered").ToString]</InArgument>
</Assign.Value>
</Assign>
<ui:Break DisplayName="Break the loop" sap:VirtualizedContainerService.HintSize="434,25" sap2010:WorkflowViewState.IdRef="Break_1" />
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_6" />
</If.Else>
</If>
</Sequence>
</ActivityAction>
</ui:ForEachRow.Body>
</ui:ForEachRow>
</Sequence>
</ActivityAction>
</uix:NApplicationCard.Body>
<uix:NApplicationCard.TargetApp>
<uix:TargetApp Area="-9, -9, 1938, 1048" BrowserType="Chrome" IconBase64="iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAARnQU1BAACx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u+v456ACevjliTTizdUErXhHTdnF0pzX0ctTS1R++dVjBOXN7XB0DBLEBBxTJmKI5l7ijuxard8Lz/Qxrn5uUXFewX9sr4pUPXcBMpNNLNV8NXp4mhcHVcQ3jX2JG795tzk0Xxv/CBW9yLBSB4SU/EUuSUHgQwKXF+Z1DOhLiuP/wwySc0MCRidfpGbiQbX6dUd035Ku9jnfvD5b5U8czmGHF1vxsoyC1yHGAPFMoZLpAc+4M2Wod1uc2HSD5dfNCgcOiqVDRMFeFwbqobKwDAybo+Juu8X9VE4uvx4vju/tRxgEEAwC6hZKzyAwGoBSAOKAz0M9zewyP36j4woOegl+JzhqxIqRmyMkVokVd8vVbIY/L48FVJ4tXtI6hlP0P0AEAP7f7kPOAvHPv9MTE/p/OAX9W5HX5LY4bd1Vu3vbPlGxns2+f+yDlhf0k4CAARBoCwlckKZgV7sgiTQn15MmopFL4ymbLy4sSJ3fhskzB+DMNQMgYU3Lf98i7f0vyF3e7PsN/10x8HB8T1Mw1ZnrIYIGcAIhjG7YOXJYnBDMnx8iSKXJlIef8YQi37GMgXcNA+6ch92qFy54GAp2endbn++ctPXT6DA30D4weYAPIotHfwsuR2D6BbAJyYa6crH/Il9BGOfT7au7fB38flnTs/q1uEPbJr53OXn2uF5owNxSWdBagCwJ0CbCucdr2FXygHun/n2N/9iHO/T56juOu8s28EBemX3eEyGP4HrLauaaXfYekAAAAASUVORK5CYII=" InformativeScreenshot="36dc265503405e94b9ffa87c56ad659a.jpg" Selector="<html app='chrome.exe' title='*Worldometer*' />" Title="COVID - Coronavirus Statistics - Worldometer - Google Chrome" Url="https://www.worldometers.info/coronavirus/" />
</uix:NApplicationCard.TargetApp>
</uix:NApplicationCard>
<umab:OutlookApplicationCard Account="[email protected]" AccountMismatchBehavior="UseDefaultEmailAccount" DisplayName="Email scrapped stats using Desktop Outlook App" sap:VirtualizedContainerService.HintSize="662,1032" sap2010:WorkflowViewState.IdRef="OutlookApplicationCard_2">
<umab:OutlookApplicationCard.Body>
<ActivityAction x:TypeArguments="um:IMailQuickHandle">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="um:IMailQuickHandle" Name="Outlook" />
</ActivityAction.Argument>
<Sequence DisplayName="Do" sap:VirtualizedContainerService.HintSize="552,852" 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>
<Assign DisplayName="Create a list of email addresses" sap:VirtualizedContainerService.HintSize="510,82" sap2010:WorkflowViewState.IdRef="Assign_6">
<Assign.To>
<OutArgument x:TypeArguments="s:String[]">[list_EmailAddresses]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="s:String[]">[{"[email protected]", "[email protected]", "[email protected]"}]</InArgument>
</Assign.Value>
</Assign>
<ui:ForEach x:TypeArguments="x:String" CurrentIndex="{x:Null}" DisplayName="Iterate each email address" sap:VirtualizedContainerService.HintSize="510,642" sap2010:WorkflowViewState.IdRef="ForEach`1_2" Values="[list_EmailAddresses]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="x:String">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:String" Name="currentEmailAddress" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="476,456" sap2010:WorkflowViewState.IdRef="Sequence_9">
<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:SendMailX Bcc="{x:Null}" Cc="{x:Null}" HtmlBodyFromText="{x:Null}" ReplyTo="{x:Null}" Account="[Outlook]" Body="["Total Cases: " + varTotalCases + Environment.NewLine +
"Total Deaths: " + varTotalDeaths + Environment.NewLine +
"Total Recovered: " + varTotalRecovered]" BodyType="Text" DisplayName="Send the email with scraped stats to each recipient" sap:VirtualizedContainerService.HintSize="434,368" sap2010:WorkflowViewState.IdRef="SendMailX_2" Importance="Normal" IsDraft="False" MaxBodyDocumentSizeMB="2" Sensitivity="Normal" Subject="["Daily COVID-19 Stats for " + varCountry + " as of " + Now.ToString("dd/MM/yyyy")]" To="[currentEmailAddress]" UseDocumentAsBody="False">
<umab:SendMailX.Files>
<scg:List x:TypeArguments="InArgument(x:String)" Capacity="0" />
</umab:SendMailX.Files>
<umab:SendMailX.HtmlBodyFromFile>
<umabh:HtmlContentArgument FilePath="{x:Null}">
<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="0" />
</umabh:HtmlContentArgument.ValueMappings>
</umabh:HtmlContentArgument>
</umab:SendMailX.HtmlBodyFromFile>
<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>
</umab:SendMailX>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
</ui:ForEach>
</Sequence>
</ActivityAction>
</umab:OutlookApplicationCard.Body>
</umab:OutlookApplicationCard>
</Sequence>
</Activity>