[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7037
  • Last Modified:

Entering multiple Event IDs for Trigger in Task Scheduler

Hi,

I am following instructions outlined in a reference document and attempting to set up email notification tasks in Task Scheduler for Successful and Failed Backups run in Server Backup.  

I have SUCCESSFULLY set up the task for Successful Backup Task as follows:
Event Name: Backup Success Email Task
Trigger > On event > Log=Microsoft-Windows-Backup/Operational > Source=Backup > Event ID=4
Action > Send an email...

My problem comes when I go to set up the task for Failed Backup Task and have to enter mutiple Event IDs in the trigger for multiple failure event codes:

Event Name: Backup Failure Email Task
Trigger > On event > Log=Microsoft-Windows-Backup/Operational > Source=Backup > Event ID= 5,8,9,17,22,49,50,52,100,517,518,521,527,528,544,545,546,561,564,612
Action > Send an email...

When I go to input the multiple Event IDs, I get the error "This field can only contain numbers".  What I read elsewhere as well as being outlined in the document I'm using for reference is to indeed enter a comma to define multiple Event IDs for a task trigger.  Am I doing something wrong here?  Please tell me I don't have to create a Task for each individual Event ID and there is another way to make this all inclusive...

Update:
Saw the below outlined in another thread but provides no details for how to properly setup step by step.  

Under Trigger, Open the trigger (should be "on an event")
Under Settings, choose "custom", then click "Edit Event Filter"
In that Filter you can add the comma separated string for backup error events

If someone could provide specific instructions as it relates to the comma separated Event IDs specifically to this Task, that would be extremely helpful.
0
David Roberts
Asked:
David Roberts
  • 2
1 Solution
 
David RobertsAuthor Commented:
I solved this myself after much frustration.
4
 
David RobertsAuthor Commented:
Excellent job!
1
 
dbaSQLCommented:
Curious, what was your solution?  I need to trigger another task if one fails -- and it is just to send a notification of the failure.   How did you solve your problem?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now