# Pipeline Blocks

**URL:** <https://forum.inductiveautomation.com/t/pipeline-blocks/18541>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [June 20, 2018, 4:54pm UTC](https://forum.inductiveautomation.com/t/pipeline-blocks/18541 "2018-06-20T16:54:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bprice](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bprice/32/83520_2.png) [@bprice](https://forum.inductiveautomation.com/u/bprice)\
**Post date:** [June 20, 2018, 4:54pm UTC](https://forum.inductiveautomation.com/t/pipeline-blocks/18541/1 "2018-06-20T16:54:15Z")

</div>

I’m trying to send a notification email out when an alarm is active for a specified shift roster. If I’m not mistaken, the switch block can read a tag value (my tag specifying the current shift). I am using a switch block off of the start block. My two outputs are “Shift A” and “Shift B”. I’m not sure how to read, or call out, that tag through the switch blocks expression.

Thanks,

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 20, 2018, 5:08pm UTC](https://forum.inductiveautomation.com/t/pipeline-blocks/18541/2 "2018-06-20T17:08:23Z")

</div>

You can just use the expression tag reference syntax (fully-qualified, since this is globally scoped):  
`{[default]path/to/tag}` will return the tag’s value.

---

<div class="post-metadata">

**Author:** ![bprice](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bprice/32/83520_2.png) [@bprice](https://forum.inductiveautomation.com/u/bprice)\
**Post date:** [June 20, 2018, 6:22pm UTC](https://forum.inductiveautomation.com/t/pipeline-blocks/18541/3 "2018-06-20T18:22:39Z")

</div>

This worked! Thank you!
