KFC email initial commit

parents
<Activity mc:Ignorable="sap sap2010" x:Class="Main" VisualBasic.Settings="{x:Null}" sap:VirtualizedContainerService.HintSize="850.4,4420" sap2010:WorkflowViewState.IdRef="ActivityBuilder_1" 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:snm="clr-namespace:System.Net.Mail;assembly=System.Net.Mail" 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.Reflection</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.DataTableUtilities</x:String>
<x:String>UiPath.UIAutomationNext.Models.ExtractData</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>UiPath.CSV</x:String>
<x:String>UiPath.CSV.Activities</x:String>
<x:String>UiPath.Excel.Activities</x:String>
<x:String>UiPath.UIAutomationNext.Contracts</x:String>
<x:String>UiPath.UIAutomationNext.Models.CV</x:String>
<x:String>UiPath.Activities.System.Collections</x:String>
<x:String>UiPath.Mail</x:String>
<x:String>UiPath.Mail.Outlook.Activities</x:String>
<x:String>UiPath.Mail.Activities</x:String>
<x:String>UiPath.Excel</x:String>
<x:String>UiPath.Platform.ResourceHandling</x:String>
<x:String>UiPath.Core.Activities.Orchestrator</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>System.Private.CoreLib</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Linq</AssemblyReference>
<AssemblyReference>System.Data.Common</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Drawing.Primitives</AssemblyReference>
<AssemblyReference>System.Drawing.Common</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>UiPath.Studio.Constants</AssemblyReference>
<AssemblyReference>System.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.ObjectModel</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>UiPath.Workflow</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.ComponentModel.TypeConverter</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.Watcher</AssemblyReference>
<AssemblyReference>System.IO.Packaging</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.AccessControl</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.DriveInfo</AssemblyReference>
<AssemblyReference>System.ComponentModel.EventBasedAsync</AssemblyReference>
<AssemblyReference>Microsoft.Win32.Primitives</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>System.Collections.NonGeneric</AssemblyReference>
<AssemblyReference>System.Collections</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</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.Data.SqlClient</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities.Design</AssemblyReference>
<AssemblyReference>System.Net.Mail</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>System.CodeDom</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic.Forms</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic.Core</AssemblyReference>
<AssemblyReference>System.Linq.Expressions</AssemblyReference>
<AssemblyReference>System.Linq.Parallel</AssemblyReference>
<AssemblyReference>System.Collections.Immutable</AssemblyReference>
<AssemblyReference>System.Linq.Queryable</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence DisplayName="Main Sequence" sap:VirtualizedContainerService.HintSize="665.6,4355.2" sap2010:WorkflowViewState.IdRef="Sequence_1">
<Sequence.Variables>
<Variable x:TypeArguments="sd:DataTable" Name="Dt1" />
<Variable x:TypeArguments="x:String" Name="strMailAccount">
<Variable.Default>
<Literal x:TypeArguments="x:String">RFPAUTOMATION@vsoftconsulting.com</Literal>
</Variable.Default>
</Variable>
<Variable x:TypeArguments="x:String" Name="strMailFolder">
<Variable.Default>
<Literal x:TypeArguments="x:String">Inbox</Literal>
</Variable.Default>
</Variable>
<Variable x:TypeArguments="sd:DataTable" Default="[New System.Data.DataTable]" Name="ExtractDataTable" />
<Variable x:TypeArguments="x:String" Name="Application_Name" />
<Variable x:TypeArguments="x:String" Name="flowName" />
<Variable x:TypeArguments="x:String" Name="correlationID" />
<Variable x:TypeArguments="x:String" Name="timestamp" />
<Variable x:TypeArguments="x:String" Name="detailedMessage" />
<Variable x:TypeArguments="x:String" Name="errorStack" />
<Variable x:TypeArguments="x:String" Name="additionalComments" />
<Variable x:TypeArguments="x:String" Name="Mail_Body" />
<Variable x:TypeArguments="x:String" Name="ApplicationName" />
<Variable x:TypeArguments="x:String" Name="Request" />
<Variable x:TypeArguments="x:String" Name="strDate" />
<Variable x:TypeArguments="x:String" Name="strError" />
<Variable x:TypeArguments="x:String" Name="ErrorMessage" />
<Variable x:TypeArguments="x:String" Name="IssueDescription" />
<Variable x:TypeArguments="scg:List(snm:MailMessage)" Name="ListofMails" />
<Variable x:TypeArguments="sd:DataTable" Name="DtTemp" />
<Variable x:TypeArguments="x:String" Name="FileName" />
<Variable x:TypeArguments="s:String[]" Name="ArchiveFiles" />
<Variable x:TypeArguments="x:String" Default="C:\Users\schitta\Documents\" Name="RootFolderPath" />
<Variable x:TypeArguments="x:String" Name="ToMailId">
<Variable.Default>
<Literal x:TypeArguments="x:String">mulesoft.KFCms@vsoftconsulting.com</Literal>
</Variable.Default>
</Variable>
<Variable x:TypeArguments="sd:DataTable" Name="dtConfig" />
<Variable x:TypeArguments="x:String" Name="EndDate" />
<Variable x:TypeArguments="x:String" Name="StartDate" />
<Variable x:TypeArguments="x:String" Name="Message" />
<Variable x:TypeArguments="sd:DataTable" Name="Dt2" />
<Variable x:TypeArguments="x:String" Name="StoreID" />
</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>
<Sequence DisplayName="DateFilter" sap:VirtualizedContainerService.HintSize="603.2,83.2" sap2010:WorkflowViewState.IdRef="Sequence_64">
<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:ExcelApplicationScope Password="{x:Null}" DisplayName="Excel Application Scope" sap:VirtualizedContainerService.HintSize="606.4,281.6" sap2010:WorkflowViewState.IdRef="ExcelApplicationScope_11" InstanceCachePeriod="3000" WorkbookPath="[RootFolderPath+&quot;KFC\Template\Config&quot;]">
<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="449.6,172" sap2010:WorkflowViewState.IdRef="Sequence_56">
<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:ExcelReadRange AddHeaders="True" DataTable="[dtConfig]" DisplayName="Read Range" sap:VirtualizedContainerService.HintSize="387.2,60" sap2010:WorkflowViewState.IdRef="ExcelReadRange_2" SheetName="Sheet1">
<ui:ExcelReadRange.Range>
<InArgument x:TypeArguments="x:String">
<Literal x:TypeArguments="x:String" Value="" />
</InArgument>
</ui:ExcelReadRange.Range>
</ui:ExcelReadRange>
</Sequence>
</ActivityAction>
</ui:ExcelApplicationScope.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:ExcelApplicationScope>
<ui:ForEachRow ColumnNames="{x:Null}" CurrentIndex="{x:Null}" DataTable="[dtConfig]" DisplayName="For Each Row in Data Table" sap:VirtualizedContainerService.HintSize="606.4,1058.4" 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="572.8,941.6" sap2010:WorkflowViewState.IdRef="Sequence_59">
<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="[row(&quot;Parameter&quot;).ToString = &quot;Email_Period&quot; AND row(&quot;Value&quot;).ToString = &quot;Weekly&quot;]" sap:VirtualizedContainerService.HintSize="510.4,736.8" sap2010:WorkflowViewState.IdRef="If_5">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,553.6" sap2010:WorkflowViewState.IdRef="Sequence_54">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_83">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[EndDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[DateTime.Today.ToString("d")]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_84">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StartDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[DateTime.Today.AddDays(-1).ToString("d")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_7" Text="[EndDate]" />
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_15" Text="[StartDate]" />
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_57" />
</If.Else>
</If>
<ui:CommentOut DisplayName="Comment Out" sap:VirtualizedContainerService.HintSize="510.4,52.8" sap2010:WorkflowViewState.IdRef="CommentOut_51">
<ui:CommentOut.Body>
<Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="449.6,164.8" sap2010:WorkflowViewState.IdRef="Sequence_107">
<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="[row(&quot;Parameter&quot;).ToString = &quot;Email_Period&quot; AND row(&quot;Value&quot;).ToString = &quot;Monthly&quot;]" sap:VirtualizedContainerService.HintSize="387.2,52.8" sap2010:WorkflowViewState.IdRef="If_7">
<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>
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,553.6" sap2010:WorkflowViewState.IdRef="Sequence_55">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="EndDate" />
<Variable x:TypeArguments="x:String" Name="StartDate" />
</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>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_81">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[EndDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[DateTime.Now.ToString("dd")]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_82">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StartDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[DateTime.Now.AddDays(-30).ToString("dd/MM/yyyy")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_16" Text="[EndDate]" />
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_17" Text="[StartDate]" />
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_58" />
</If.Else>
</If>
</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>
</ActivityAction>
</ui:ForEachRow.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:ForEachRow>
</Sequence>
<Sequence DisplayName="RenameFile" sap:VirtualizedContainerService.HintSize="603.2,83.2" sap2010:WorkflowViewState.IdRef="Sequence_44">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_54">
<Assign.To>
<OutArgument x:TypeArguments="s:String[]">[ArchiveFiles]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="s:String[]">[Directory.GetFiles(RootFolderPath + "KFC\Error Notification KFC Emails")]</InArgument>
</Assign.Value>
</Assign>
<ui:ForEach x:TypeArguments="x:String" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="433.6,437.6" sap2010:WorkflowViewState.IdRef="ForEach`1_2" Values="[ArchiveFiles]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="x:String">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="x:String" Name="currentItem" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="376.8,249.6" sap2010:WorkflowViewState.IdRef="Sequence_41">
<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:MoveFile ContinueOnError="{x:Null}" DestinationResource="{x:Null}" PathResource="{x:Null}" Destination="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\Archive&quot;]" DisplayName="Move File" sap:VirtualizedContainerService.HintSize="333.6,160" sap2010:WorkflowViewState.IdRef="MoveFile_2" Overwrite="True" Path="[currentItem]" />
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
</ui:ForEach>
<ui:CopyFile ContinueOnError="{x:Null}" Destination="[RootFolderPath + &quot;KFC\Error Notification KFC Emails&quot;]" DisplayName="Copy File" sap:VirtualizedContainerService.HintSize="433.6,155.2" sap2010:WorkflowViewState.IdRef="CopyFile_1" Overwrite="True" Path="[RootFolderPath + &quot;KFC\Template\Template.xlsx&quot;]" />
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_58">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[FileName]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">["Error Notification_"+DateTime.Now.ToString("yyyy_MM_dd_HH_mm")+".xlsx"]</InArgument>
</Assign.Value>
</Assign>
<ui:RenameFileX DisplayName="Rename File" FilePath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; +&quot;Template.xlsx&quot;]" sap:VirtualizedContainerService.HintSize="433.6,144" sap2010:WorkflowViewState.IdRef="RenameFileX_1" KeepExtension="True" NewName="[FileName]" />
</Sequence>
<ui:CommentOut DisplayName="Comment Out" sap:VirtualizedContainerService.HintSize="603.2,52.8" sap2010:WorkflowViewState.IdRef="CommentOut_20">
<ui:CommentOut.Body>
<Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="449.6,197.6" sap2010:WorkflowViewState.IdRef="Sequence_62">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:MessageBox Caption="{x:Null}" ChosenButton="{x:Null}" AutoCloseAfter="00:00:00" DisplayName="Message Box" sap:VirtualizedContainerService.HintSize="387.2,85.6" sap2010:WorkflowViewState.IdRef="MessageBox_1" Text="[&quot;[ReceivedTime] &gt;= '&quot;&amp;StartDate &amp;&quot;' AND [ReceivedTime] &lt;= '&quot;&amp;EndDate &amp;&quot;'&quot;]" />
</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>
<ui:BuildDataTable DataTable="[Dt1]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="603.2,60" sap2010:WorkflowViewState.IdRef="BuildDataTable_2" TableInfo="&lt;NewDataSet&gt;&#xD;&#xA; &lt;xs:schema id=&quot;NewDataSet&quot; xmlns=&quot;&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;&#xD;&#xA; &lt;xs:element name=&quot;NewDataSet&quot; msdata:IsDataSet=&quot;true&quot; msdata:MainDataTable=&quot;TableName&quot; msdata:UseCurrentLocale=&quot;true&quot;&gt;&#xD;&#xA; &lt;xs:complexType&gt;&#xD;&#xA; &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;&#xD;&#xA; &lt;xs:element name=&quot;TableName&quot;&gt;&#xD;&#xA; &lt;xs:complexType&gt;&#xD;&#xA; &lt;xs:sequence&gt;&#xD;&#xA; &lt;xs:element name=&quot;strDate&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;strError&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;ErrorMessage&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;ApplicationName&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;Request&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;CorrelationID&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;IssueDescription_x0020_&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;StoreID&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;Aggregator&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;Priority&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;Total_x0020_Affected&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;Next_x0020_Steps_x002F_ETA&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;xs:element name=&quot;Total_x0020_Count&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xD;&#xA; &lt;/xs:sequence&gt;&#xD;&#xA; &lt;/xs:complexType&gt;&#xD;&#xA; &lt;/xs:element&gt;&#xD;&#xA; &lt;/xs:choice&gt;&#xD;&#xA; &lt;/xs:complexType&gt;&#xD;&#xA; &lt;/xs:element&gt;&#xD;&#xA; &lt;/xs:schema&gt;&#xD;&#xA;&lt;/NewDataSet&gt;" />
<ui:GetOutlookMailMessages FilterByMessageIds="{x:Null}" Account="[strMailAccount]" DisplayName="Get Outlook Mail Messages" Filter="[&quot;[ReceivedTime] &gt;= '&quot;+ StartDate +&quot; 00:00AM' AND [ReceivedTime] &lt;= '&quot;+ EndDate +&quot; 00:00AM'&quot;]" GetAttachements="False" sap:VirtualizedContainerService.HintSize="603.2,24.8" sap2010:WorkflowViewState.IdRef="GetOutlookMailMessages_2" MailFolder="[strMailFolder]" MarkAsRead="False" Messages="[ListofMails]" OnlyUnreadMessages="False" OrderByDate="NewestFirst" TimeoutMS="240000" Top="1000" />
<ui:ForEach x:TypeArguments="snm:MailMessage" CurrentIndex="{x:Null}" DisplayName="For Each" sap:VirtualizedContainerService.HintSize="603.2,2736.8" sap2010:WorkflowViewState.IdRef="ForEach`1_1" Values="[ListofMails]">
<ui:ForEach.Body>
<ActivityAction x:TypeArguments="snm:MailMessage">
<ActivityAction.Argument>
<DelegateInArgument x:TypeArguments="snm:MailMessage" Name="Mail" />
</ActivityAction.Argument>
<Sequence DisplayName="Body" sap:VirtualizedContainerService.HintSize="569.6,2548.8" sap2010:WorkflowViewState.IdRef="Sequence_2">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="variable1" />
</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="[Mail.Subject.ToString.Contains(&quot;Error Notification&quot;)]" sap:VirtualizedContainerService.HintSize="526.4,2459.2" sap2010:WorkflowViewState.IdRef="If_2">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="492.8,2276" sap2010:WorkflowViewState.IdRef="Sequence_30">
<Sequence.Variables>
<Variable x:TypeArguments="x:String" Name="FileName" />
<Variable x:TypeArguments="x:String" Name="strDate" />
<Variable x:TypeArguments="x:String" Name="strError" />
</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>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="449.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_2" Text="[Mail.Body.ToString]" />
<Assign sap:VirtualizedContainerService.HintSize="449.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_36">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Mail_Body]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail.Body.ToString]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="449.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_63">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Mail_Body]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Join(System.Environment.Newline, Mail_Body.Split({System.Environment.Newline},System.StringSplitOptions.RemoveEmptyEntries) )]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="449.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_62">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Mail_Body]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Join(Environment.NewLine,Mail_Body.Replace(Environment.NewLine,"").ToString)]</InArgument>
</Assign.Value>
</Assign>
<Sequence DisplayName="ApplicationName" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_45">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_64">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[ApplicationName]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("errorReportedByApplicationName")+0,Mail_Body.IndexOf("level")-Mail_Body.IndexOf("errorReportedByApplicationName")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_65">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[ApplicationName]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[ApplicationName.Replace("errorReportedByApplicationName","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_8" Text="[ApplicationName]" />
</Sequence>
<Sequence DisplayName="Request" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_46">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_39">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Request]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("flowName")+0,Mail_Body.IndexOf("correlationID")-Mail_Body.IndexOf("flowName")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_66">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Request]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Request.Replace("flowName","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_9" Text="[Request]" />
</Sequence>
<Sequence DisplayName="correlationID" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_47">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_40">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[correlationID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("correlationID")+0,Mail_Body.IndexOf("timeStamp")-Mail_Body.IndexOf("correlationID")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="correlationID" sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_67">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[correlationID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[correlationID.Replace("correlationID","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_10" Text="[correlationID]" />
</Sequence>
<Sequence DisplayName="Date" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_48">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_41">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[strDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("timeStamp")+0,Mail_Body.IndexOf("message")-Mail_Body.IndexOf("timeStamp")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Date" sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_48">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[strDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[strDate.Replace("""","").Replace("""","").Replace("timeStamp","").Trim]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_69">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[strDate]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Left(strDate,10)]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_11" Text="[strDate]" />
</Sequence>
<Sequence DisplayName="Error" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_49">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_42">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[strError]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("detailedMessage")+0,Mail_Body.IndexOf("errorStack")-Mail_Body.IndexOf("detailedMessage")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign DisplayName="Error" sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_70">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[strError]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[strError.Replace("detailedMessage","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_12" Text="[strError]" />
</Sequence>
<Sequence DisplayName="ErrorMessage" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_50">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_43">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[ErrorMessage]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("errorStack")+0,Mail_Body.IndexOf("errorCode")-Mail_Body.IndexOf("errorStack")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_71">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[ErrorMessage]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[ErrorMessage.Replace("errorStack","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_13" Text="[ErrorMessage]" />
</Sequence>
<Sequence DisplayName="IssueDescription" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_51">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_47">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[IssueDescription]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("additionalComments")+0)]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_73">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[IssueDescription]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Split(IssueDescription.ToString,"This")(0)]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_74">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[IssueDescription]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[IssueDescription.Replace("additionalComments","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_14" Text="[IssueDescription]" />
</Sequence>
<Sequence DisplayName="StoreID" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_103">
<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>
<If Condition="[IssueDescription.Contains(&quot;/submit/&quot;) = true OR IssueDescription.Contains(&quot;/menu/&quot;) = true]" sap:VirtualizedContainerService.HintSize="587.2,1041.6" sap2010:WorkflowViewState.IdRef="If_10">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="553.6,858.4" sap2010:WorkflowViewState.IdRef="Sequence_101">
<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="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_98">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StoreID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[IssueDescription.Split(":"c)(2).Trim]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="510.4,81.6" sap2010:WorkflowViewState.IdRef="Assign_99">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StoreID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[StoreID.Split("'"c)(0).Trim]</InArgument>
</Assign.Value>
</Assign>
<If Condition="[StoreID.Contains(&quot;submit&quot;)]" sap:VirtualizedContainerService.HintSize="510.4,525.6" sap2010:WorkflowViewState.IdRef="If_11">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,171.2" sap2010:WorkflowViewState.IdRef="Sequence_98">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_100">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StoreID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[StoreID.Split("/"c)(3).Trim]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,171.2" sap2010:WorkflowViewState.IdRef="Sequence_99">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_102">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StoreID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[StoreID.Split("/"c)(2).Trim]</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</If.Else>
</If>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap:VirtualizedContainerService.HintSize="476.8,171.2" sap2010:WorkflowViewState.IdRef="Sequence_102">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_101">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[StoreID]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">
<Literal x:TypeArguments="x:String" Value="" />
</InArgument>
</Assign.Value>
</Assign>
</Sequence>
</If.Else>
</If>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="587.2,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_20" Text="[StoreID]" />
</Sequence>
<Sequence DisplayName="Message" sap:VirtualizedContainerService.HintSize="449.6,83.2" sap2010:WorkflowViewState.IdRef="Sequence_65">
<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="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_85">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Message]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Mail_Body.Substring(Mail_Body.IndexOf("message")+0,Mail_Body.IndexOf("detailedMessage")-Mail_Body.IndexOf("message")-0)]</InArgument>
</Assign.Value>
</Assign>
<Assign sap:VirtualizedContainerService.HintSize="433.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_86">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[Message]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">[Message.Replace("message","")]</InArgument>
</Assign.Value>
</Assign>
<WriteLine DisplayName="Write Line" sap:VirtualizedContainerService.HintSize="433.6,90.4" sap2010:WorkflowViewState.IdRef="WriteLine_18" Text="[Message]" />
</Sequence>
<Assign sap:VirtualizedContainerService.HintSize="449.6,81.6" sap2010:WorkflowViewState.IdRef="Assign_59">
<Assign.To>
<OutArgument x:TypeArguments="x:String">[FileName]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="x:String">["Error Notification_"+DateTime.Now.ToString("yyyy_MM_dd_HH_mm")+".xlsx"]</InArgument>
</Assign.Value>
</Assign>
<If Condition="[Message.Contains(&quot;PROD&quot;)]" sap:VirtualizedContainerService.HintSize="449.6,460.8" sap2010:WorkflowViewState.IdRef="If_8">
<If.Then>
<Sequence sap:VirtualizedContainerService.HintSize="377.6,277.6" sap2010:WorkflowViewState.IdRef="Sequence_66">
<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="[{strDate, strError, ErrorMessage, ApplicationName, Request, correlationID, IssueDescription,StoreID}]" DataTable="[Dt1]" DisplayName="Add Data Row" sap:VirtualizedContainerService.HintSize="334.4,188" sap2010:WorkflowViewState.IdRef="AddDataRow_5" />
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_67" />
</If.Else>
</If>
</Sequence>
</If.Then>
<If.Else>
<Sequence sap2010:WorkflowViewState.IdRef="Sequence_31" />
</If.Else>
</If>
</Sequence>
</ActivityAction>
</ui:ForEach.Body>
</ui:ForEach>
<ui:CommentOut DisplayName="Comment Out" sap:VirtualizedContainerService.HintSize="603.2,52.8" sap2010:WorkflowViewState.IdRef="CommentOut_32">
<ui:CommentOut.Body>
<Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="545.6,486.4" sap2010:WorkflowViewState.IdRef="Sequence_80">
<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:ExcelApplicationScope Password="{x:Null}" CreateNewFile="False" DisplayName="Excel Application Scope" sap:VirtualizedContainerService.HintSize="483.2,374.4" sap2010:WorkflowViewState.IdRef="ExcelApplicationScope_14" InstanceCachePeriod="3000" WorkbookPath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; + FileName]">
<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="449.6,264.8" sap2010:WorkflowViewState.IdRef="Sequence_43">
<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 StartingCell="{x:Null}" AddHeaders="True" DataTable="[Dt1]" DisplayName="Write Range" sap:VirtualizedContainerService.HintSize="387.2,88" sap2010:WorkflowViewState.IdRef="ExcelWriteRange_7" SheetName="Sheet1" />
<ui:ExcelSaveWorkbook DisplayName="Save Workbook" sap:VirtualizedContainerService.HintSize="387.2,24.8" sap2010:WorkflowViewState.IdRef="ExcelSaveWorkbook_1" />
</Sequence>
</ActivityAction>
</ui:ExcelApplicationScope.Body>
</ui:ExcelApplicationScope>
</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>
<ui:WriteRange AddHeaders="True" DataTable="[Dt1]" DisplayName="Write Range Workbook" sap:VirtualizedContainerService.HintSize="603.2,116" sap2010:WorkflowViewState.IdRef="WriteRange_6" SheetName="Sheet1" StartingCell="A1" WorkbookPath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; + FileName]" />
<ui:CommentOut DisplayName="Comment Out" sap:VirtualizedContainerService.HintSize="603.2,52.8" sap2010:WorkflowViewState.IdRef="CommentOut_50">
<ui:CommentOut.Body>
<Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="449.6,200" sap2010:WorkflowViewState.IdRef="Sequence_106">
<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="[Dt1]" DisplayName="Read Range Workbook" sap:VirtualizedContainerService.HintSize="387.2,88" sap2010:WorkflowViewState.IdRef="ReadRange_3" SheetName="Sheet1" WorkbookPath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; + FileName]" />
</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>
<ui:BuildDataTable DataTable="[Dt2]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="603.2,60" sap2010:WorkflowViewState.IdRef="BuildDataTable_7" TableInfo="&lt;NewDataSet&gt;&#xA; &lt;xs:schema id=&quot;NewDataSet&quot; xmlns=&quot;&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;&#xA; &lt;xs:element name=&quot;NewDataSet&quot; msdata:IsDataSet=&quot;true&quot; msdata:MainDataTable=&quot;TableName&quot; msdata:UseCurrentLocale=&quot;true&quot;&gt;&#xA; &lt;xs:complexType&gt;&#xA; &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;&#xA; &lt;xs:element name=&quot;TableName&quot;&gt;&#xA; &lt;xs:complexType&gt;&#xA; &lt;xs:sequence&gt;&#xA; &lt;xs:element name=&quot;strError&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xA; &lt;xs:element name=&quot;Count&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xA; &lt;/xs:sequence&gt;&#xA; &lt;/xs:complexType&gt;&#xA; &lt;/xs:element&gt;&#xA; &lt;/xs:choice&gt;&#xA; &lt;/xs:complexType&gt;&#xA; &lt;/xs:element&gt;&#xA; &lt;/xs:schema&gt;&#xA;&lt;/NewDataSet&gt;" />
<Assign sap:VirtualizedContainerService.HintSize="603.2,83.2" sap2010:WorkflowViewState.IdRef="Assign_92">
<Assign.To>
<OutArgument x:TypeArguments="sd:DataTable">[Dt2]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="sd:DataTable" xml:space="preserve">[(
From row In Dt1.AsEnumerable
Group row By Key = New With{Key.strError = row.item("strError")}
Into grp = Group
Select Dt2.LoadDataRow(New Object(){Key.strError,grp.Count()},
True)).OrderBy(Function(row)row("strError")).CopyToDataTable]</InArgument>
</Assign.Value>
</Assign>
<ui:WriteRange StartingCell="{x:Null}" AddHeaders="True" DataTable="[Dt2]" DisplayName="Write Range Workbook" sap:VirtualizedContainerService.HintSize="603.2,116" sap2010:WorkflowViewState.IdRef="WriteRange_8" SheetName="Sheet2" WorkbookPath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; + FileName]" />
<ui:SendOutlookMail Bcc="{x:Null}" Body="{x:Null}" Cc="{x:Null}" ContinueOnError="{x:Null}" MailMessage="{x:Null}" ReplyTo="{x:Null}" Subject="{x:Null}" TimeoutMS="{x:Null}" Account="[strMailAccount]" DisplayName="Send Outlook Mail Message" sap:VirtualizedContainerService.HintSize="603.2,148.8" sap2010:WorkflowViewState.IdRef="SendOutlookMail_7" Importance="Normal" IsBodyHtml="False" IsDraft="False" Sensitivity="Normal" To="[ToMailId]">
<ui:SendOutlookMail.Files>
<scg:List x:TypeArguments="InArgument(x:String)" Capacity="4">
<InArgument x:TypeArguments="x:String">[RootFolderPath + "KFC\Error Notification KFC Emails\" + FileName]</InArgument>
</scg:List>
</ui:SendOutlookMail.Files>
</ui:SendOutlookMail>
<ui:CommentOut DisplayName="Comment Out" sap:VirtualizedContainerService.HintSize="603.2,52.8" sap2010:WorkflowViewState.IdRef="CommentOut_49">
<ui:CommentOut.Body>
<Sequence DisplayName="Ignored Activities" sap:VirtualizedContainerService.HintSize="449.6,225.6" sap2010:WorkflowViewState.IdRef="Sequence_105">
<sap:WorkflowViewStateService.ViewState>
<scg:Dictionary x:TypeArguments="x:String, x:Object">
<x:Boolean x:Key="IsExpanded">True</x:Boolean>
</scg:Dictionary>
</sap:WorkflowViewStateService.ViewState>
<ui:InvokeWorkflowFile ArgumentsVariable="{x:Null}" ContinueOnError="{x:Null}" DisplayName="Pivot.xaml - Invoke Workflow File" sap:VirtualizedContainerService.HintSize="387.2,113.6" sap2010:WorkflowViewState.IdRef="InvokeWorkflowFile_3" UnSafe="False" WorkflowFileName="Pivot.xaml">
<ui:InvokeWorkflowFile.Arguments>
<InArgument x:TypeArguments="sd:DataTable" x:Key="Dt1">[Dt1]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="FileName">[FileName]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="RootFolderPath">[RootFolderPath]</InArgument>
<InArgument x:TypeArguments="sd:DataTable" x:Key="Dt2">[Dt2]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="strMailAccount">[strMailAccount]</InArgument>
<InArgument x:TypeArguments="x:String" x:Key="ToMailId">[ToMailId]</InArgument>
</ui:InvokeWorkflowFile.Arguments>
</ui:InvokeWorkflowFile>
</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>
</Activity>
\ No newline at end of file
<Activity mc:Ignorable="sap sap2010" x:Class="Pivot" 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">
<x:Members>
<x:Property Name="Dt1" Type="InArgument(sd:DataTable)" />
<x:Property Name="FileName" Type="InArgument(x:String)" />
<x:Property Name="RootFolderPath" Type="InArgument(x:String)" />
<x:Property Name="Dt2" Type="OutArgument(sd:DataTable)" />
<x:Property Name="strMailAccount" Type="InArgument(x:String)" />
<x:Property Name="ToMailId" Type="OutArgument(x:String)" />
</x:Members>
<sap:VirtualizedContainerService.HintSize>548,944.8</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>Microsoft.VisualBasic</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.IO</x:String>
<x:String>System.Linq</x:String>
<x:String>System.Net.Mail</x:String>
<x:String>UiPath.Core.Activities</x:String>
<x:String>System.Reflection</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.DataTableUtilities</x:String>
<x:String>UiPath.Shared.Activities</x:String>
<x:String>UiPath.Excel.Activities</x:String>
<x:String>UiPath.Mail</x:String>
<x:String>UiPath.Mail.Outlook.Activities</x:String>
<x:String>UiPath.Mail.Activities</x:String>
<x:String>UiPath.Excel</x:String>
<x:String>UiPath.Platform.ResourceHandling</x:String>
<x:String>System.Activities.Expressions</x:String>
<x:String>System.Diagnostics</x:String>
<x:String>System.Drawing</x:String>
<x:String>System.Xml</x:String>
<x:String>System.Xml.Linq</x:String>
<x:String>UiPath.Core</x:String>
<x:String>GlobalVariablesNamespace</x:String>
<x:String>GlobalConstantsNamespace</x:String>
</sco:Collection>
</TextExpression.NamespacesForImplementation>
<TextExpression.ReferencesForImplementation>
<sco:Collection x:TypeArguments="AssemblyReference">
<AssemblyReference>System.Activities</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic</AssemblyReference>
<AssemblyReference>System.Private.CoreLib</AssemblyReference>
<AssemblyReference>mscorlib</AssemblyReference>
<AssemblyReference>System.Data</AssemblyReference>
<AssemblyReference>System</AssemblyReference>
<AssemblyReference>System.Linq</AssemblyReference>
<AssemblyReference>System.Data.Common</AssemblyReference>
<AssemblyReference>System.Drawing</AssemblyReference>
<AssemblyReference>System.Drawing.Primitives</AssemblyReference>
<AssemblyReference>System.Drawing.Common</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>UiPath.Studio.Constants</AssemblyReference>
<AssemblyReference>System.Reflection.DispatchProxy</AssemblyReference>
<AssemblyReference>System.Reflection.TypeExtensions</AssemblyReference>
<AssemblyReference>System.ObjectModel</AssemblyReference>
<AssemblyReference>System.Reflection.Metadata</AssemblyReference>
<AssemblyReference>UiPath.Workflow</AssemblyReference>
<AssemblyReference>NPOI</AssemblyReference>
<AssemblyReference>System.Memory.Data</AssemblyReference>
<AssemblyReference>System.ComponentModel.TypeConverter</AssemblyReference>
<AssemblyReference>System.Console</AssemblyReference>
<AssemblyReference>System.Configuration.ConfigurationManager</AssemblyReference>
<AssemblyReference>System.Security.Permissions</AssemblyReference>
<AssemblyReference>System.ComponentModel</AssemblyReference>
<AssemblyReference>System.Memory</AssemblyReference>
<AssemblyReference>System.Private.Uri</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.Watcher</AssemblyReference>
<AssemblyReference>System.IO.Packaging</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.AccessControl</AssemblyReference>
<AssemblyReference>System.IO.FileSystem.DriveInfo</AssemblyReference>
<AssemblyReference>System.ComponentModel.EventBasedAsync</AssemblyReference>
<AssemblyReference>Microsoft.Win32.Primitives</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>System.Collections.NonGeneric</AssemblyReference>
<AssemblyReference>System.Collections</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.Design</AssemblyReference>
<AssemblyReference>UiPath.System.Activities.ViewModels</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.Data.SqlClient</AssemblyReference>
<AssemblyReference>UiPath.Excel</AssemblyReference>
<AssemblyReference>UiPath.Mail</AssemblyReference>
<AssemblyReference>UiPath.Mail.Activities.Design</AssemblyReference>
<AssemblyReference>System.Net.Mail</AssemblyReference>
<AssemblyReference>UiPath.Excel.Activities.Design</AssemblyReference>
<AssemblyReference>System.CodeDom</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic.Forms</AssemblyReference>
<AssemblyReference>Microsoft.VisualBasic.Core</AssemblyReference>
<AssemblyReference>System.Linq.Expressions</AssemblyReference>
<AssemblyReference>System.Linq.Parallel</AssemblyReference>
<AssemblyReference>System.Collections.Immutable</AssemblyReference>
<AssemblyReference>System.Linq.Queryable</AssemblyReference>
<AssemblyReference>System.Runtime.Serialization</AssemblyReference>
<AssemblyReference>System.ServiceModel</AssemblyReference>
<AssemblyReference>System.ServiceModel.Activities</AssemblyReference>
</sco:Collection>
</TextExpression.ReferencesForImplementation>
<Sequence sap:VirtualizedContainerService.HintSize="558.4,880" sap2010:WorkflowViewState.IdRef="Sequence_69">
<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="496,768" sap2010:WorkflowViewState.IdRef="Sequence_68">
<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="[Dt1]" DisplayName="Read Range Workbook" sap:VirtualizedContainerService.HintSize="433.6,88" sap2010:WorkflowViewState.IdRef="ReadRange_2" SheetName="Sheet1" WorkbookPath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; + FileName]" />
<ui:BuildDataTable DataTable="[Dt2]" DisplayName="Build Data Table" sap:VirtualizedContainerService.HintSize="433.6,60" sap2010:WorkflowViewState.IdRef="BuildDataTable_3" TableInfo="&lt;NewDataSet&gt;&#xA; &lt;xs:schema id=&quot;NewDataSet&quot; xmlns=&quot;&quot; xmlns:xs=&quot;http://www.w3.org/2001/XMLSchema&quot; xmlns:msdata=&quot;urn:schemas-microsoft-com:xml-msdata&quot;&gt;&#xA; &lt;xs:element name=&quot;NewDataSet&quot; msdata:IsDataSet=&quot;true&quot; msdata:MainDataTable=&quot;TableName&quot; msdata:UseCurrentLocale=&quot;true&quot;&gt;&#xA; &lt;xs:complexType&gt;&#xA; &lt;xs:choice minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;&gt;&#xA; &lt;xs:element name=&quot;TableName&quot;&gt;&#xA; &lt;xs:complexType&gt;&#xA; &lt;xs:sequence&gt;&#xA; &lt;xs:element name=&quot;strError&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xA; &lt;xs:element name=&quot;Count&quot; msdata:Caption=&quot;&quot; type=&quot;xs:string&quot; minOccurs=&quot;0&quot; /&gt;&#xA; &lt;/xs:sequence&gt;&#xA; &lt;/xs:complexType&gt;&#xA; &lt;/xs:element&gt;&#xA; &lt;/xs:choice&gt;&#xA; &lt;/xs:complexType&gt;&#xA; &lt;/xs:element&gt;&#xA; &lt;/xs:schema&gt;&#xA;&lt;/NewDataSet&gt;" />
<Assign sap:VirtualizedContainerService.HintSize="433.6,83.2" sap2010:WorkflowViewState.IdRef="Assign_88">
<Assign.To>
<OutArgument x:TypeArguments="sd:DataTable">[Dt2]</OutArgument>
</Assign.To>
<Assign.Value>
<InArgument x:TypeArguments="sd:DataTable" xml:space="preserve">[(
From row In Dt1.AsEnumerable
Group row By Key = New With{Key.strError = row.item("strError")}
Into grp = Group
Select Dt2.LoadDataRow(New Object(){Key.strError,grp.Count()},
True)).OrderBy(Function(row)row("strError")).CopyToDataTable]</InArgument>
</Assign.Value>
</Assign>
<ui:WriteRange StartingCell="{x:Null}" AddHeaders="True" DataTable="[Dt2]" DisplayName="Write Range Workbook" sap:VirtualizedContainerService.HintSize="433.6,116" sap2010:WorkflowViewState.IdRef="WriteRange_1" SheetName="Sheet2" WorkbookPath="[RootFolderPath + &quot;KFC\Error Notification KFC Emails\&quot; + FileName]" />
<ui:SendOutlookMail Bcc="{x:Null}" Body="{x:Null}" Cc="{x:Null}" ContinueOnError="{x:Null}" MailMessage="{x:Null}" ReplyTo="{x:Null}" Subject="{x:Null}" TimeoutMS="{x:Null}" Account="[strMailAccount]" DisplayName="Send Outlook Mail Message" sap:VirtualizedContainerService.HintSize="433.6,148.8" sap2010:WorkflowViewState.IdRef="SendOutlookMail_1" Importance="Normal" IsBodyHtml="False" IsDraft="False" Sensitivity="Normal" To="[ToMailId]">
<ui:SendOutlookMail.Files>
<scg:List x:TypeArguments="InArgument(x:String)" Capacity="4">
<InArgument x:TypeArguments="x:String">[RootFolderPath + "KFC\Error Notification KFC Emails\" + FileName]</InArgument>
</scg:List>
</ui:SendOutlookMail.Files>
</ui:SendOutlookMail>
</Sequence>
</Sequence>
</Activity>
\ No newline at end of file
{
"name": "Email-ExcelTableExtraction",
"projectId": "d490883e-f0b3-48b0-aaef-d833ab91eab4",
"description": "Process of extracting table from email to excel",
"main": "Main.xaml",
"dependencies": {
"UiPath.Excel.Activities": "[2.20.2]",
"UiPath.Mail.Activities": "[1.20.0]",
"UiPath.System.Activities": "[23.4.3]",
"UiPath.Testing.Activities": "[23.4.1]",
"UiPath.UIAutomation.Activities": "[23.4.6]"
},
"webServices": [],
"entitiesStores": [],
"schemaVersion": "4.0",
"studioVersion": "23.4.2.0",
"projectVersion": "1.0.0",
"runtimeOptions": {
"autoDispose": false,
"netFrameworkLazyLoading": false,
"isPausable": true,
"isAttended": false,
"requiresUserInteraction": true,
"supportsPersistence": false,
"workflowSerialization": "DataContract",
"excludedLoggedData": [
"Private:*",
"*password*"
],
"executionType": "Workflow",
"readyForPiP": false,
"startsInPiP": false,
"mustRestoreAllDependencies": true,
"pipType": "ChildSession"
},
"designOptions": {
"projectProfile": "Developement",
"outputType": "Process",
"libraryOptions": {
"includeOriginalXaml": false,
"privateWorkflows": []
},
"processOptions": {
"ignoredFiles": []
},
"fileInfoCollection": [],
"modernBehavior": false
},
"expressionLanguage": "VisualBasic",
"entryPoints": [
{
"filePath": "Main.xaml",
"uniqueId": "3e5fb3ee-ace9-485b-87ca-1e23bade5e9c",
"input": [],
"output": []
}
],
"isTemplate": false,
"templateProjectData": {},
"publishData": {},
"targetFramework": "Windows"
}
\ No newline at end of file
No preview for this file type
No preview for this file type
File mode changed
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment