# Alert Switch Block

**URL:** <https://forum.inductiveautomation.com/t/alert-switch-block/6532>\
**Category:** Ignition\
**Created:** [May 20, 2013, 7:59pm UTC](https://forum.inductiveautomation.com/t/alert-switch-block/6532 "2013-05-20T19:59:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [May 20, 2013, 7:59pm UTC](https://forum.inductiveautomation.com/t/alert-switch-block/6532/1 "2013-05-20T19:59:08Z")

</div>

Hey guys,

Am I doing this right? I have a switch block set for {priority} and output values of 3 and 4 but it would never pass any alerts through the pipeline. I did a test and bypassed the switch block with the catch all and then I started getting alerts through the pipeline. Do I just have this block set up incorrectly or is there an issue with it?

![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/04f548a2a9e1691290abeaf1d6d083b5318a5aba.png)

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [May 20, 2013, 9:31pm UTC](https://forum.inductiveautomation.com/t/alert-switch-block/6532/2 "2013-05-20T21:31:27Z")

</div>

Hi,

Yes, it looks like it’s currently only comparing the “name” of the priority, like “low”. However, we’ve changed it for 7.6.1 rc4 to allow for the integer value as well.

Regards,

---

<div class="post-metadata">

**Author:** ![Duffanator](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/duffanator/32/3560_2.png) [@Duffanator](https://forum.inductiveautomation.com/u/Duffanator)\
**Post date:** [May 20, 2013, 9:49pm UTC](https://forum.inductiveautomation.com/t/alert-switch-block/6532/3 "2013-05-20T21:49:20Z")

</div>

Oh, I didn’t even think about using the name. Haha. Ok, thanks!
