# Alarm Pipeline Expression

**URL:** <https://forum.inductiveautomation.com/t/alarm-pipeline-expression/8022>\
**Category:** Ignition\
**Created:** [February 18, 2014, 11:16pm UTC](https://forum.inductiveautomation.com/t/alarm-pipeline-expression/8022 "2014-02-18T23:16:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rnagoshi](https://avatars.discourse-cdn.com/v4/letter/r/41988e/32.png) [@rnagoshi](https://forum.inductiveautomation.com/u/rnagoshi)\
**Post date:** [February 18, 2014, 11:16pm UTC](https://forum.inductiveautomation.com/t/alarm-pipeline-expression/8022/1 "2014-02-18T23:16:38Z")

</div>

I’m trying to get the expression function in the alarm pipeline to basically just work. I have tried various expressions with no success. Can anyone show me a simple expression that will change from true to false.

---

<div class="post-metadata">

**Author:** ![adamaustin](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@adamaustin](https://forum.inductiveautomation.com/u/adamaustin)\
**Post date:** [February 19, 2014, 3:34pm UTC](https://forum.inductiveautomation.com/t/alarm-pipeline-expression/8022/2 "2014-02-19T15:34:39Z")

</div>

The following expression evaluates to TRUE every other minute.

```auto
substring(dateFormat(now(0), "mm"),1) = "0"
|| substring(dateFormat(now(0), "mm"),1) = "2"
|| substring(dateFormat(now(0), "mm"),1) = "4"
|| substring(dateFormat(now(0), "mm"),1) = "6"
|| substring(dateFormat(now(0), "mm"),1) = "8"
```

You can test this from the webpage by linking the TRUE OUT of the EXPRESSION block to the IN of the NOTIFY block in a pipeline, then go to the Ignition webpage CONFIGURE -\> ALARMING -\> NOTIFICATION and click TEST PIPELINES AND NOTIFICATION PROFILES. Click every minute and you should see it send out notifications on only even minutes.
