cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create Text Log File in BluePrism

MohiniShelke
Level 4
Hello,

How to create Custom log file when running the Process at Steps and add Error meaasge also and finally at end of process  Email this log file to user.

Anyone knows this?
Please reply

Thanks in advance.

------------------------------
Mohini Shelke
RPA Developer
vElement It
------------------------------
2 REPLIES 2

GopalBhaire
Level 10
Use 'Write Text File' Action of Utility File Management, you can write text as

"text1","text2"​
separated by comma and save as csv to generate csv easily or you can save it as txt

------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------

david.l.morris
Level 15
It sounds like what Gopal suggests is all you need. Are you just trying to write text to a file throughout a process and then email it at the end?

I just wanted to point out one thing to consider. You could build your log throughout the session in a data item in the process and then write the text file at the very end, but depending on what kind of info you're putting in the log, you may want to consider using Append To Text File frequently throughout your process. This would mean you wouldn't lose the log information that you've built up during the session in the case that a termination occurs during the running of the process.

Another, newer way of doing this is with Data Gateways. I haven't tested it yet, but it looks like you can use Data Gateways to output log messages and/or session logs to a local file as an alternative to the File Management VBO.

------------------------------
Dave Morris
3Ci @ Southern Company
Atlanta, GA
------------------------------

Dave Morris, 3Ci at Southern Company