# Alarm pipeline SMS alarm tag path

**URL:** <https://forum.inductiveautomation.com/t/alarm-pipeline-sms-alarm-tag-path/35104>\
**Category:** Ignition\
**Created:** [May 27, 2020, 10:30pm UTC](https://forum.inductiveautomation.com/t/alarm-pipeline-sms-alarm-tag-path/35104 "2020-05-27T22:30:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 27, 2020, 10:30pm UTC](https://forum.inductiveautomation.com/t/alarm-pipeline-sms-alarm-tag-path/35104/1 "2020-05-27T22:30:46Z")

</div>

I’m trying to send an SMS out with just the alarm source tag path, however my alarms already override the Display Path, so I need to use the source property. The source property however comes with all the other info in the format:  
`prov:<provider>:/tag:<tagPath>:/alm:<Alarm Name>`  
I can pull out just the tagPath using a the `split` function in the expression language:  
`split('prov:<provider>:/tag:<tagPath>:/alm:<Alarm Name>', ':')[3,0]`  
however I can’t use expression functions in the SMS message property…

Without binding a custom SMS message to every single alarm tag, how can I just send out the alarm’s tag path?

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [May 27, 2020, 10:41pm UTC](https://forum.inductiveautomation.com/t/alarm-pipeline-sms-alarm-tag-path/35104/2 "2020-05-27T22:41:32Z")

</div>

Dumb dumb. You can use a Set Property block to perform the split function, then use that property within the SMS message.  
However, to use the split function on the source (I presume its of type [QualifiedPath](http://files.inductiveautomation.com/sdk/javadoc/ignition79/795/com/inductiveautomation/ignition/common/QualifiedPath.html)), you need to wrap it in a toStr:  
`split(toStr({source}), ':')[3,0]`
