# Script in Alarm Notification Pipeline

**URL:** <https://forum.inductiveautomation.com/t/script-in-alarm-notification-pipeline/10776>\
**Category:** Ignition\
**Created:** [November 12, 2015, 7:02am UTC](https://forum.inductiveautomation.com/t/script-in-alarm-notification-pipeline/10776 "2015-11-12T07:02:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nsnr8r](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nsnr8r](https://forum.inductiveautomation.com/u/Nsnr8r)\
**Post date:** [November 12, 2015, 7:02am UTC](https://forum.inductiveautomation.com/t/script-in-alarm-notification-pipeline/10776/1 "2015-11-12T07:02:57Z")

</div>

In my pipeline, I have a script block with system.tag.write(“Alarming/Test”,“test”), followed by a notification block. The notification block executes, but I cannot seem to get the script block to do anything. Is this the correct way to use a script block? Should’nt it execute before the notification block.

Thanks,  
David

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 12, 2015, 1:05pm UTC](https://forum.inductiveautomation.com/t/script-in-alarm-notification-pipeline/10776/2 "2015-11-12T13:05:08Z")

</div>

The script is almost certainly running, but the tag write is failing. In gateway context, you need fully qualified tag paths. Try:`system.tag.write("[default]Alarming/Test","test")`The tag provider name in brackets is optional in the client because client projects have a default tag provider assigned.
