Professional Documents
Culture Documents
Project 1name - Excel Activities in Email Automation - People - Email
Project 1name - Excel Activities in Email Automation - People - Email
# DEAR STUDENTS, PLEASE READ AND UNDERSTAND EACH STEP, BEFORE YOU PROCEED TO DO THE
LAB
AND FOLLOW THE TRAINER SPEECH FOR YOUR DIRECTION TO AVOID CONFUSION/MISTAKE/DELAYS
TO GET AN ACTUAL RESULT. THANK YOU!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# PROJECT NAME: EXCEL ACTIVITIES IN EMAIL AUTOMATION # [EMAIL AUTOMATION SSR10] #
JOHN.KIM@XECUTESMART.COM
ROBERT.SIMON@XECUTESMART.COM
DAVE.BROWN@XECUTESMART.COM
BYRON.VICTOR@XECUTESMART.COM
KAREN.LEO@XECUTESMART.COM
# Step 0.1: Click On Project, Please make sure, the following 4 default packages
and
click on Managed Packages to install and save for: UiPathTeam.File.Activities
UiPath.Excel.Activities
UiPath.Mail.Activities
UiPath.System.Activities
UiPath.UIAutomation.Activities
UiPathTeam.File.Activities
# STEP 1: Look at down menus, Click on Activities, Search for Flowchart, Drag and
Drop in workspace,
Flowchart Title named as Email Automation
# STEP 2: Activities, Search for Excel Application Scope, Drag and Drop in
workspace,
Goto the path to the excel file you
created one above
"C:\SSR\IT_SKILLS\ROBOTICS_RPA\PROJECTS_PRACTICALS\People_Email.xlsx"
# STEP 3: Activities, Search for Read Range, Drag and Drop in Do Drop Activity
window,
Excel / Read Range, Sheet1, ""
# STEP 6: In Activities, Search For each row, Drag and Drop in workspace,
Programming/DataTable/For Each Row
Connect For each row with the above Excel Application Scope
Start.....>Excel Application Scope......>For each row....double click then
Foreach row in box,Just type G, this will drop down to get, GetEmployeedata
# STEP 7: In Activities, Search for Excel Application Scope, Again Drag and Drop
Excel Application Scope in Body
Give path name of your excel file
"C:\SSR\IT_SKILLS\ROBOTICS_RPA\PROJECTS_PRACTICALS\People_Email.xlsx"
Click on Variables:
Name:Counter, VariableType:GenericValue, Scope: Email_Automation, Default: 1
Go back to Step 8 above, fullfill the detail like, Set Name/Var: Counter =
Counter+1
# STEP 9: In Activities, search for Assign and Drag and Drop "Assign" into Excel
Application Scope/Do/again
Set Name/Var: cellnum = "c"+counter.ToString
# STEP 10: In Activities, Search for Write Cell, Drag and Drop Excel Write Cell,
into After Assign into Excel App Scope/Do/
In First Box:
"Sheet1" = cellnum
In 2nd Box:
V3
Click on For each row window, then Click on Variables down to see:
Name: cellnum, VariableType: GenericValue, Scope:Email_Automation, Default: 1
Goto your People_Email Excel file in Stored folder to to See the Result
-------------------------------------------------------------------------------
[Main: Start............>Excel Application Scope.............>For each row]
J-KI@XECUTESMART.COM
R-SI@XECUTESMART.COM
D-BR@XECUTESMART.COM
B-VI@XECUTESMART.COM
K-LE@XECUTESMART.COM
---------------------------------------------------------------
# FINAL RESULT, WE NEED TO GET EMAIL-ID'S WITH THE FOLLOWING:
JOHN.KIM@XECUTESMART.COM
ROBERT.SIMON@XECUTESMART.COM
DAVE.BROWN@XECUTESMART.COM
BYRON.VICTOR@XECUTESMART.COM
KAREN.LEO@XECUTESMART.COM
---------------------------------------------------------------------------------