Link to home
Start Free TrialLog in
Avatar of David Roberts
David RobertsFlag for United States of America

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of David Roberts
David Roberts
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of David Roberts

ASKER

Excellent job!
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?
Well that's helpful.  Great "verified solution".