Reading Display Path on Alarms

Hello all,

We have been attempting to read the display path from tags which have an alarm, the IA scripting module has been effective in reading many tag attributes, but no results are returned when looking for a display path, even though we know that a path exists for the tag, here is the script that is running to try and retrieve this:

expression = system.tag.getAttribute("tagpath", "AlertDisplayPath") print expression

We have also noticed that when trying to retrieve atributes from a tag with a dynamic alarm , we recieve null values for some attributes(Severity, CurrentState) unless the alarm is active, this is an issue as we are attempting to use these attributes to filter all alarms on the project.

Any feedback or ideas would be greatly appreciated

The answer to this is covered in your other post! :smiley: