# Clear Pipeline not working

**URL:** <https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957>\
**Category:** General Discussion\
**Tags:** ignition81, scripting\
**Created:** [October 3, 2023, 4:30am UTC](https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957 "2023-10-03T04:30:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOKULAKANNAN\_P](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@GOKULAKANNAN\_P](https://forum.inductiveautomation.com/u/GOKULAKANNAN_P)\
**Post date:** [October 3, 2023, 4:30am UTC](https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957/1 "2023-10-03T04:30:31Z")

</div>

Hello,

I have created a memory tag-set alarm with the condition "equal to 0." I have also set up two pipelines: one for activation ("Active Pipeline") and another for clearing ("Clear Pipeline"), both with script blocks.

In the event that the "Active Pipeline" is triggered, I intend to write a test tag with the value "Active." Conversely, if the "Clear Pipeline" is triggered, I want to write a tag with the value "Clear."

However, when I change the value to 0, the test tag correctly shows "Active." But when I change the value to 1, it does not clear as expected.

If anyone has any ideas or suggestions, please provide them.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![aaronrai24](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/aaronrai24/32/87248_2.png) [@aaronrai24](https://forum.inductiveautomation.com/u/aaronrai24)\
**Post date:** [October 3, 2023, 5:11am UTC](https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957/2 "2023-10-03T05:11:39Z")

</div>

I believe by default alarm pipelines have 'Clear' as a dropout condition meaning if your alarm is in that state it wont enter that pipeline, have you removed 'Clear' as a dropout condition?

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

---

<div class="post-metadata">

**Author:** ![GOKULAKANNAN\_P](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@GOKULAKANNAN\_P](https://forum.inductiveautomation.com/u/GOKULAKANNAN_P)\
**Post date:** [October 3, 2023, 5:34am UTC](https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957/3 "2023-10-03T05:34:52Z")

</div>

Hello, @aaronrai24 .Thank you for your response.

I have not removed 'Clear' as a dropout condition.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/1/514514d1d910773f91274ed9d264958618a471b9.png)

---

<div class="post-metadata">

**Author:** ![aaronrai24](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/aaronrai24/32/87248_2.png) [@aaronrai24](https://forum.inductiveautomation.com/u/aaronrai24)\
**Post date:** [October 3, 2023, 3:10pm UTC](https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957/4 "2023-10-03T15:10:12Z")

</div>

If you want notifications(or in your case your alarm script in your pipeline) for when an alarm has cleared you'll have to remove that as a dropout condition, [Alarm Notification Pipelines - Ignition User Manual 8.1 - Ignition Documentation](https://docs.inductiveautomation.com/display/DOC81/Alarm+Notification+Pipelines#AlarmNotificationPipelines-PipelineLifecycle)

---

<div class="post-metadata">

**Author:** ![GOKULAKANNAN\_P](https://avatars.discourse-cdn.com/v4/letter/g/0ea827/32.png) [@GOKULAKANNAN\_P](https://forum.inductiveautomation.com/u/GOKULAKANNAN_P)\
**Post date:** [October 4, 2023, 3:47am UTC](https://forum.inductiveautomation.com/t/clear-pipeline-not-working/79957/5 "2023-10-04T03:47:34Z")

</div>

Thanks, @aaronrai24.

After disabling the "Cleared" condition from the dropout, it is now working. 😊

Thanks again 🙏
