I have this code in the epilog tab that will kick off an email if a process errors
Code: Select all
if(long(GetProcessErrorFilename) > 0 );
errorlog = GetProcessErrorFileDirectory | GetProcessErrorFilename|';';
ExecuteProcess('Send_Error_Emails', 'errorlog' , errorlog);
endif;
Recently a processed errored because the ODBC could not opened and this code did not trigger and send me the email.
Is there any guidance out there for the behavior of TI in an error condition?
In my case I would have thought the email would still have been sent out since the epilog tab should have run and the there was a error log created. I know the code works since I received a log earlier this week at the same time that this occured.