Alarm Event Scripts not being Called on Array Tags

I have an Integer Array tag with an alarm that goes active when the value is over a threshold value. All of the alarming works correctly, raising an alarm for each individual value in the array when it crosses the threshold.
My goal was to write off a value when a user Acked an alarm, but I'm unable to because none of the Alarm Event scripts (alarmActive, alarmCleared, alarmAcked) are ever called for any of the alarms.
I recreated the alarm on an Integer tag and the Alarm Events are called correctly, so this appears to be a bug related to Array type (or at least Integer Array type) tags.

I've recreated the issue on two more generic tags (included in the json below). One Integer Array tag and one Integer tag, both of them with an Alarm that triggers when the value(s) are greater than or equal to 5. In each of their Alarm Event scripts I have a logger that will write which tag and event activated.
The Integer tag writes to the logs, the Integer Array tag does not.
example_alarm_tags.json (2.1 KB)

I know a workaround for this; split out the array tag into individual tags. But I'd really rather avoid it since that'd mean I need to make a couple hundred tags.

Version info
OS: Windows 10 Pro
Ignition: 8.1.32 (b2023091211)
Java: 11.0.18+10-LTS

Sounds worthy of a formal bug report (via support ticket). This forum is not support.

Fair enough. Ticket's in, I'll update when I know more.

1 Like

Update:
According to the response from Ignition the alarm metric properties (most notably in my case; the AlarmObservers) were not being created for each element in the array, so the corresponding callbacks could not execute.This was caused by a bug (referenced as IGN-8178).
The bug is fixed in Ignition version 8.1.38, which will also resolve the specific issue I ran into.

3 Likes