Reputation: 92
I want to take the report of last one download details from the mysql database and sent to my project manager on every monday through the email so the process remains same only date would be change dynamically so, I would like to automate this process using RPA UIpath.
Anyone could you help me to achieve this process.
Thanks
Upvotes: 1
Views: 2421
Reputation: 349
First step Take the data using database activity
Create an automation in UiPath to attach and send to your respective email
Schedule it own orchestrator.
Though not exactly but atleast sending a mail by taking credential from Orchestrator is shown in this article
Upvotes: 2
Reputation: 18463
There will be some extra steps like transforming data as necessary etc, but the basic outline of this process is as follows
UiPath.Database.Activities.ExecuteQuery
activity to a DataTable
Write Range
activityUiPath.Mail.SMTP.Activities.SendMail
including freshly created Excel file as attachmentUpvotes: 4
Reputation: 118
Use 'Database' package to connect to sql db and and run the query. Schedule the program to run every Monday using Orchestrator. Create the report with current date using DateTime function
Upvotes: 4