Create custom log file in excel format for each task

Hi All,

I’ve robot will perform multiple task I want to create custom log file in excel format for each task how can I do this please advise.
Thanks,
Shagoul

@Shagoul_Hameed

Each task or Each Activity?

You can use a build datatable activity and define your columns

using assign activity you can assign your log description as below

Once your task done you can use write Range activity to write to excel file

Hope this helps you

Thanks

1 Like

Thank you so much however I am very new for Uipath do u have any example code please advise

@Shagoul_Hameed

Refer below how to Read, Write to datatable etc.,
Tutorial : How to Calculate difference between two Time Values using UiPath
RPA DataTable: Get Previous Row Column Value, Set to Current Row Column Value

and others also available

Hope this helps you

Thanks

Thank you let me check this and get back. :innocent:

I am really sorry those link not relevant to mine actually my exact requirement is:

  1. When I click start Robot I should create one excel automaticity by ui with current date is fine.
  2. I’ve some log message inside my bot for each activity so I wanted to printed those in that excel file.

Example: when robot start pop with please enter your name “XXXXX” that name should printed in my excel file. Column should be “USER NAME”
So like this I want create log message for all the action.

Imported note each time I run bot it should create new excel file with date and time is fine.

Hi All,

any one has suggestion for the above.