# Disabling an Alarm Pipeline

**URL:** <https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380>\
**Category:** Ignition\
**Created:** [November 25, 2014, 3:11pm UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380 "2014-11-25T15:11:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dodonnell999](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@Dodonnell999](https://forum.inductiveautomation.com/u/Dodonnell999)\
**Post date:** [November 25, 2014, 3:11pm UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380/1 "2014-11-25T15:11:58Z")

</div>

Is there any way to disable an Alarm Pipeline from the client.

Ideally what I want is a button on the screen that toggles to enable/disable the alarm pipeline, but I still want the alarm to be logged in the journal and on the alarm table.

Initially what I had was a memory tag which I thought could be used in an expression block or switch block at the start of the pipeline, however the expression seems to return NULL for the value of the tag.

---

<div class="post-metadata">

**Author:** ![Chris\_Taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chris_taylor/32/3315_2.png) [@Chris\_Taylor](https://forum.inductiveautomation.com/u/Chris_Taylor)\
**Post date:** [November 25, 2014, 4:19pm UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380/2 "2014-11-25T16:19:04Z")

</div>

Dodonnell999

if you want to use a tag, then I’ve used the tag expression successfully

the “tag” expression for a tag with the path :tag/path would not look like this:

Tag(’{[~]tag/path})

but would be like this:

Tag(‘tag/path’)

don’t forget the quotes

---

<div class="post-metadata">

**Author:** ![Dodonnell999](https://avatars.discourse-cdn.com/v4/letter/d/87869e/32.png) [@Dodonnell999](https://forum.inductiveautomation.com/u/Dodonnell999)\
**Post date:** [November 25, 2014, 4:47pm UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380/3 "2014-11-25T16:47:13Z")

</div>

Thanks for the reply Chris, I couldn’t get it to work as described without putting in the tag provider, so the expression had to be tag(’[default]tag/path’) since I was using the default tag provider.

Thanks for pointing me in the right direction.

---

<div class="post-metadata">

**Author:** ![Chris\_Taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/chris_taylor/32/3315_2.png) [@Chris\_Taylor](https://forum.inductiveautomation.com/u/Chris_Taylor)\
**Post date:** [November 26, 2014, 9:51am UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380/4 "2014-11-26T09:51:12Z")

</div>

Dodonnell999

Yes, your quite right, I forgot, the piplines are in the gateway scope and not project specific so you have to specify the tag provider even if it is the default.

Glad you got it working.

---

<div class="post-metadata">

**Author:** ![keith.crenshaw](https://avatars.discourse-cdn.com/v4/letter/k/fbc32d/32.png) [@keith.crenshaw](https://forum.inductiveautomation.com/u/keith.crenshaw)\
**Post date:** [October 20, 2016, 5:34pm UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380/5 "2016-10-20T17:34:06Z")

</div>

So to add/resurrect this thread…

We have a Notification Pipeline per project. We would like a way to disable the pipeline while updating tags or performing testing. However, we would like to put a timer script/expression in the Gateway event script or on the tag that enables the pipeline after a set time, say 4 hrs. Is there a system properties that we could write to via a Gateway script or tag within the project?

---

<div class="post-metadata">

**Author:** ![greg.krueger](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@greg.krueger](https://forum.inductiveautomation.com/u/greg.krueger)\
**Post date:** [November 3, 2021, 4:46pm UTC](https://forum.inductiveautomation.com/t/disabling-an-alarm-pipeline/9380/6 "2021-11-03T16:46:56Z")

</div>

Giving this a bump to see if there have been any updates in 8.1 to make this a bit easier - ie direct script function to enable/disable a pipeline. Anyone know if such a thing exists? I saw there is the system.alarms.listPipelines function, but I didn’t see any functions to manipulate the pipeline.

If not, then is using the expression block with a tag reference still the best way to handle pipeline enable/disable from a client? Has anyone come up with a better way (not that the tag method seems that bad TBH).

Any info appreciated,  
-G
