I'm trying to write a standard automation script that sends an email from a correlation rules or from a hyperlink. I provide the RootKey and the AlarmID as parameters. What is the best way to read the alarm information for the email into the automation script, such as RootTime, Severity, Element Name, Parameter, Value, etc?
Hi Gerrit,
If you trigger the script from a correlation rule you could use How do I parse Correlation Alarm Info data.
If you trigger the script from a hyperlink, you could use these keywords to pass information to the automation script.
Hope it helps.
The information from a Correlation trigger is different from a Hyperlink. For example, with an Severity, with the correlation rule we get an severityID (int) and with the hyperlink a severity as (string).
My idea was to query the data using the AlarmID to create a universal script that can always be used regardless of the source.