Creating log file

hai
I need to create a log file for every status of my process can anyone help me how to do this.I am uploading my file can anyone help meMain.xaml (29.7 KB)

I hope you are asking the question for second time @soumi_soumiya,

here is the answer I gave already :slight_smile:

1 Like

This is fine but my need is different. I am getting the username, mail id, Time of mail received. i need to write all this message in an excel and also should write the status attachment downloaded success or not

Thanks
Soumiya

Hi @HareeshMR

use strusername=mail.username.ToString
StrMail=mail.emailid.toString
StrDateTime=Mail.ReceivedTime.ToString

use Write Range Activity or write cell activity

Thanks
Ashwin S

1 Like

Hi @soumi_soumiya

Try creating Log.xaml and Invoke for Every new Message. PFA xaml for your reference.
Logs_Generation.xaml (6.4 KB) Main.xaml (8.6 KB)

Thanks,
Snehal Kapse.