I have a mutli step SQL Server job that when one of the steps fail an alert needs to be sent out, however the job can't fail on this step it needs to continue. I have tried a trigger on sysjobshistory but that has gotten kind of ugly. So for example:
3 step job
step 1 completes goes to step 2
step 2 fails (need alert to go out now) continues to step3
step 3 succeeds job is complete
I need the alert to go out when step 2 fails, not at job completion, some of these steps take quite a while.
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!