I have a department that needs to be alerted when a scheduled task that executes every 5 minutes does not execute properly. Specifically when Event 322 occurs.

I was unfortunately not brought in until after the logs rolled and the screen shot provided didnt give any into.
I was trying to alert on last run result, and state of the task, but not knowing what the state actually is for live eventID 322 I am not sure this is the right way


I was thinking if possible to scan for the actually EVENT 322 and then alert if that shows up. I am going to see if I can write a script to look in the logs, but I wanted to ask if anyone has come up against this yet and had a better idea.