• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7594
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

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