# Alarm scripting help

**URL:** <https://forum.inductiveautomation.com/t/alarm-scripting-help/73490>\
**Category:** Ignition\
**Created:** [May 9, 2023, 5:34pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-help/73490 "2023-05-09T17:34:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Cockrell](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@Brian\_Cockrell](https://forum.inductiveautomation.com/u/Brian_Cockrell)\
**Post date:** [May 9, 2023, 5:34pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-help/73490/1 "2023-05-09T17:34:46Z")

</div>

I am need to create alarms in already built tags but am having a hard time following the manual.

I would like to do this with scripting. I do know how to manually create alarms.

Any tag that has a name that includes lets say PAH i would like to create an alarm the same as the tag name and contain a certain group that will be specified by the first 3 letters of the tag.

This will need to be done in all of the tag folders that have been created.

Please help i am very new to python scripting.

Thank you very much

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [May 9, 2023, 5:38pm UTC](https://forum.inductiveautomation.com/t/alarm-scripting-help/73490/2 "2023-05-09T17:38:48Z")

</div>

This doc should get you started, it includes code examples.  
[https://docs.inductiveautomation.com/display/DOC81/system.tag.configure](https://docs.inductiveautomation.com/display/DOC81/system.tag.configure)
