# \[BUG-13866\] Expression isAlarmActive : Invalid relative tag path

**URL:** <https://forum.inductiveautomation.com/t/bug-13866-expression-isalarmactive-invalid-relative-tag-path/25536>\
**Category:** Ignition Early Access\
**Tags:** ignition80\
**Created:** [June 4, 2019, 1:47pm UTC](https://forum.inductiveautomation.com/t/bug-13866-expression-isalarmactive-invalid-relative-tag-path/25536 "2019-06-04T13:47:52Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [October 25, 2019, 2:11pm UTC](https://forum.inductiveautomation.com/t/bug-13866-expression-isalarmactive-invalid-relative-tag-path/25536/10 "2019-10-25T14:11:49Z")

</div>

Hi @James.Lorenz,  
I've upgraded to the last 8.0.6 nightly build.  
The issue with isAlarmActive is ok...But I have another issue with this expression tag.

**I think the issue occur for the result of isAlarmActive when there are disabled alarms (or perhaps all disabled) in the path of isAlarmActive("path")**

I confirm this bug is too in **7.9.12**

perhaps the same bug as:

> [@isAlarmActiveFiltered throws REFERENCE\_NOT\_FOUND when alarms not enabled](http://forum.inductiveautomation.com/t/isalarmactivefiltered-throws-reference-not-found-when-alarms-not-enabled/23933):
>
> Howdy, I’m trying to implement a client-configurable alarming system within Ignition 7.9.10. I have configurable setpoints and ‘enable’ tags that the alarmed tag references in its configuration. I also have some expression tags that attempt to summarize the current alarm information for a given tag. The issue I’ve found is that the isAlarmsActiveFiltered expression throws a REFERENCE\_NOT\_FOUND exception if there are no alarms enabled on the given tag. I can see why this would be the default …

Example:

I have one alarm for these expression tag value:  
[default]TVG/SYS/ESX01/00001/TA/DEF\_CPU\_USAGE  
Value expression:

```auto
isAlarmActive("[.]../TM/CPU_USAGE")

```

Enabled properties of the alarm is bind to an expression

```auto
!({[.]../TC/INHIBER_ALARMES} || {[.]../TS/COND_INHIB_ALARMES})

```

If the enable expression return **True** , the value is OK.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/349010515ad61828d81979a909064133f054f714.png)

If the enable expression return **False** , the value go to Bad\_NotFound !

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/3e6d7e04818d2ead25779a9b3c5e64b912062130.png)

I use the same pattern to disable alarm based on other expression tag with no problem.

**I think the issue occur for the result of isAlarmActive when there are disabled alarms (or perhaps all disabled) in the path of isAlarmActive("path")**

---

_[View the full topic](https://forum.inductiveautomation.com/t/bug-13866-expression-isalarmactive-invalid-relative-tag-path/25536)._
