Forum Discussion
I have attached the 2 screen which contain the information .
Let me know if you need more information
I haven't started using the email functionality . I am checking for sendEmail functionality but that require to have our mail server information
ALso I am sharing the some more information
1 Under the project we have 4-5 script . If any one script fails then it stop the current
script and move on another script. We have implemented this OnLogError.
2. Once all the script finished running. Then we export the MHT report to our project location .
Now our next step is to trigger the email if there are failures or errors in the project .
Let me know if you need more information
Thanks
Nishchal
- Marsha_R5 years agoChampion Level 3
This should help:
- nisgupta5 years agoValued Contributor
I have seen this . But there is a condtion we need to trigger the email if there are errors in the log.
- tristaanogre5 years agoEsteemed Contributor
What I would do is, in your OnLogError handler, set the value of a global project boolean variable to true if an error is logged. Then, at the end of the project, just add some if-then logic to a "clean up" routine that, if that flag is true, send the e-mail.