I want to be able to update the "AppManager Comments" field on an alarm
from an automation script. From the debugger, it is the "alarm.Comment"
variable. Just using the line alarm.Comment = 'test' returns the error
"Could not modify alarm: TypeError: Cannot convert null to an object."
This works fine if you use the right-click tool, "Add AppManager
comment...", but I need to be able to do this from an automation.

This is the code I'm using (pretty much straight out of the Scripting


alarm.Comment = 'test'


catch( Exception )
formula.log.warn( 'Could not modify alarm: ' + Exception )

csssl's Profile: https://forums.netiq.com/member.php?userid=6773
View this thread: https://forums.netiq.com/showthread.php?t=53266