Issue
The sequence numbers for Alarm Events are changing daily for all active alarms in the system. This can be a problem for applications using sequence number as alarm identifier.
Product Line
EcoStruxure Building Operation
Environment
- Building Operation Enterprise Server.
- Building Operation Automation Server Premium
Cause
Every night there is a cleanup in the alarm table and alarms can then get new sequence numbers.
Every night historic updates with old time stamps are removed in the alarm table.
When this cleanup takes place, there is a reorganization of sequence numbers of current alarms. They all get a new sequence number.
The new sequence numbers are always higher than the latest sequence number before the cleanup.
Resolution
Do not use alarm sequence number for alarm identifier, use triggered time stamp instead.