How to Create Text Log File in BluePrism
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-08-19 09:39 AM
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
------------------------------
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-08-19 09:52 AM
Use 'Write Text File' Action of Utility File Management, you can write text as
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------
"text1","text2"separated by comma and save as csv to generate csv easily or you can save it as txt
------------------------------
Gopal Bhaire
Analyst
Accenture
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-08-19 11:11 AM
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
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
