Is there a way to include the errors and warnings in an Automation’s log file in an email (external action)? Which Key would this be, or do I need to create a global key that would include this information?
Adding Errors and Warnings from Automation Log File to Email (External Action)
Best answer by kate-safe
Hi
Thank you for your post!
The best way to do this is to attach the job log to the email. To do this, on the Email external action you will want to click the dropdown arrow next to “Email Attachment” and select Workspace | Job Log. You can use this same process for both failure or success ports as needed.
If you are just wanting to include the specific warnings/errors in the body of the email instead (or as a separate document), then you will need to develop a second workspace that can parse the log file for warnings/errors to then compile those in a separate document that you could then include.
I hope this helps clarify things!
Kate
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.