Hi All, I am trying to get the name of the source tag for an alarm and use it in the expression for an alarm property.
I have a tag setup with an alarm, to know if an alarm notification needs to be sent to the operator when the alarm becomes active, there is another tag I am trying to read. I can point directly towards the tag and it works
if({[.]../Commands/Not Critical Alarm/Alarm Notification Test Tag} = 1, "BCW/Alarm Active", "")
but what I am trying to do is make this dynamic so the other 200+ alarms I can just paste the same thing in the expression for the Active Pipeline since all the tags in the system are organized the same way
- Clearwell
- Alarms
- Alarm Notification Test Tag - Has the alarm setup with the expression
- Commands
- Not Critical Alarm
- Alarm Notification Test Tag - Trying to read this Boolean to see if alarm notification needs to happen
- Not Critical Alarm
- Alarms
this is what I tried that doesn't work, I am guessing because Name is probably a property of the alarm and not the source tag.
if(tag(concat("[.]../Commands/Not Critical Alarm/", {Name})) = 1, "BCW/Alarm Active", "")
Is there a way to reference the .Name property of the source tag?
Thank You!