# Search In Display Path of Alarm Status Table

**URL:** <https://forum.inductiveautomation.com/t/search-in-display-path-of-alarm-status-table/25655>\
**Category:** Ignition\
**Created:** [June 7, 2019, 8:29pm UTC](https://forum.inductiveautomation.com/t/search-in-display-path-of-alarm-status-table/25655 "2019-06-07T20:29:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwieringa70](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jwieringa70](https://forum.inductiveautomation.com/u/jwieringa70)\
**Post date:** [June 7, 2019, 8:29pm UTC](https://forum.inductiveautomation.com/t/search-in-display-path-of-alarm-status-table/25655/1 "2019-06-07T20:29:58Z")

</div>

Trying to get a count of Low, Active/Acked, alarms with RDG1 in the display path. Not having any luck with _wildcard_ RDG1 in the display path. Below is current of many attempt. I am getting a count of all Low, ActiveAcked alarms, just seems to ignore my display\_path= attempt.

Any assistance would be greatly appreciated.

Thanks in advance

count1 = len(system.alarm.queryStatus(priority = [“Low”],state=[“ActiveAcked”],display\_path = [“_RDG1_”]))

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [June 8, 2019, 8:00pm UTC](https://forum.inductiveautomation.com/t/search-in-display-path-of-alarm-status-table/25655/2 "2019-06-08T20:00:22Z")

</div>

Is the displayPath ONLY RDG1 or is it part of a path?  
I just tested your query on my project and replaced the double quotes with single quotes, and put / on the end so it would continue down into the sub folders of the path and it worked.

> displaypath - A list of display paths to search at. Display paths are separated by "/", and if a path ends in "/\*", everything below that path will be searched as well.

---

<div class="post-metadata">

**Author:** ![jwieringa70](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jwieringa70](https://forum.inductiveautomation.com/u/jwieringa70)\
**Post date:** [June 9, 2019, 9:35pm UTC](https://forum.inductiveautomation.com/t/search-in-display-path-of-alarm-status-table/25655/3 "2019-06-09T21:35:58Z")

</div>

RGD1 represents a production site, then would have any number off error messages like low psi, comm fail, etc. So just trying to get any alarm with “RGD1” in the display path.

This didn’t work as it is counting all Low, ActiveAcked alarms.

count1 = len(system.alarm.queryStatus(priority = [“Low”],state=[“ActiveAcked”],display\_path = [‘RGD1/’]))

Thanks so much for any assistance.

---

<div class="post-metadata">

**Author:** ![jwieringa70](https://avatars.discourse-cdn.com/v4/letter/j/e36b37/32.png) [@jwieringa70](https://forum.inductiveautomation.com/u/jwieringa70)\
**Post date:** [June 11, 2019, 6:46pm UTC](https://forum.inductiveautomation.com/t/search-in-display-path-of-alarm-status-table/25655/4 "2019-06-11T18:46:35Z")

</div>

Found the fix to this. Replace display\_path with source and use \* wild card before and after RGD1 to specify the search. Counted only Low, ActiveAcked with RGD1 in the display path.

count1 = len(system.alarm.queryStatus(priority = [“Low”],state=[“ActiveAcked”],source = [‘_RGD1_’]))
