Get Source Tag Provider when Using Remote Gateway Notification Profile

Hello,

I’m running into an issue with remote gateway notification profiles where I can’t determine the source gateway the tag lives on from the AlarmEvent object. I have two gateways: FE, and IO1. The FE gateway hosts the alarm pipelines. The IO1 gateway has a remote gateway notification connection.

On the host gateway, when the alarm on a tag named frontEndAlarmTester alarms, this is the event object:

Event[name=Alarm, source=prov:default:/tag:frontendAlarmTester:/alm:Alarm, priority=Low, desc=null]

On the remote gateway, when the alarm on a tag in their default tag provider named io1AlarmTester alarms, this is the event object:

Event[name=Alarm, source=prov:default:/tag:io1AlarmTester:/alm:Alarm, priority=Low, desc=null]

Is there any other way to distinguish where an alarm in the pipeline originates from? That is, getting the gateway name or what have you?

We do this all the time, but our remote gateways alarm tag use the gateway name in the Display Path of the alarm. Then on the notification profile, we extract the gateway name from this property.