Page 1 of 1

Email of log file....

Posted: Sat Nov 18, 2006 7:08 am
by wdp01
Two questions:
1.  How difficult is it to have an email sent through WORD to notify a user if a Task has failed to run successfully?
2.  Along the same lines, is it possible to import a portion of the log file into a text file?  If a complicated task runs every morning, how can one capture just the daily log, rather than the whole thing (the length of the daily log may vary in length depending on the tasks run).  I envision that this would be easier to do if one could invert the log entries so that they were in a most-recent down orientation?
wdp

Email of log file....

Posted: Wed Nov 22, 2006 2:57 am
by Oleg
1. How difficult is it to have an email sent through WORD to notify a user if a Task has failed to run successfully?
Do you mean MSWord? Why do you not want to send email directly via "Send email" action?
You may detect the error which has happened in previous step by {IsError} system variable. In this case you should set the "If Error occured" parameter of the task (see "Advanced" tab of task editor) to "Continue execution" and handle the error manually.
...is it possible to import a portion of the log file into a text file?
No, there isn't an automated way to extract a part from log file now