Hello,
Does anyone of you guys know if it is possible to have an email sent if the task has an error when executing?
I know it is possible to use the variable {IsError} to check if there was an error in the PREVIOUS step. The problem is that I don't want to check for errors in each of my key steps. I was wondering if there was something like IF there was an error in one of the steps THEN send email.
Thanks,
Jean-Paul
Email when Error
Email when Error
Hi,
I would be very happy if anyone has a solution for this "problem".
Thank you,
Markus
I would be very happy if anyone has a solution for this "problem".
Thank you,
Markus
Email when Error
See such algorithm
Set Variable ErorCount to 0
critical step 1
if {IsError} then
increment variable ErorCount on 1
end if
.....
critical step 2
if {IsError} then
increment variable ErorCount on 1
end if
.......
critical step 3
if {IsError} then
increment variable ErorCount on 1
end if
.......
if ErorCount > 0 then
Show Message "ALARM!!!"
end if
Set Variable ErorCount to 0
critical step 1
if {IsError} then
increment variable ErorCount on 1
end if
.....
critical step 2
if {IsError} then
increment variable ErorCount on 1
end if
.......
critical step 3
if {IsError} then
increment variable ErorCount on 1
end if
.......
if ErorCount > 0 then
Show Message "ALARM!!!"
end if