Can I set the Properties of a Scripted Alert to suppress duplicates?
Goto the MOM Home Page
 

I've created an Alert via VBScript as described at http://www.momanswers.com. However, I would like to set the alert properties so that it suppresses duplicates. How can this be done?

Contributed By: Mike Betts [MVP MOM]
Can't be done through scripting I'm afraid, the functionality simply isn't there but there is a workaround.

Make your alert based rule generate an event programmatically instead (pick any event number that isn't going to collide) using the '
createevent' method instead of 'createalert'.  Now you can create a rule through the GUI that raises an alert based on this event number occurring.  You can switch on duplicate alert suppression for this rule as you would any normal GUI based rule.
 

© FAQShop.com 2003 - 2008

Goto the MOM Home Page

Email the Author