I am looking for a way to script the creation of an alert and Generate custom emails.
Some items I would like to look into:
Is there an ignition funtion availible to manually create an alert using a script?
-system.alert.newAlert
-system.alert.newAlert(system, path, stateName, minSeverity, maxSeverity, activeAndUnacked, activeAndAcked, clearAndUnacked, clearAndAcked, flatten, displayPath)
Would it be best to create an Alert_RandomName_Status tag with type integer(for level) and update notes to hold alert info.
-if so, how do I update the DBTags AlertNotes property from a client?
Right now there is no function to create new alerts on tags. You have to set it up through the SQLTags browser in the designer. If you put tags into a database driving provider you can dynamically make changes to tags.