# Trigger a script when an Alarm becomes active?

**URL:** <https://forum.inductiveautomation.com/t/trigger-a-script-when-an-alarm-becomes-active/87364>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 14, 2024, 8:55pm UTC](https://forum.inductiveautomation.com/t/trigger-a-script-when-an-alarm-becomes-active/87364 "2024-03-14T20:55:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben522326](https://avatars.discourse-cdn.com/v4/letter/b/b4bc9f/32.png) [@Ben522326](https://forum.inductiveautomation.com/u/Ben522326)\
**Post date:** [March 14, 2024, 8:55pm UTC](https://forum.inductiveautomation.com/t/trigger-a-script-when-an-alarm-becomes-active/87364/1 "2024-03-14T20:55:19Z")

</div>

Hello all! Quick question,,,, I'm new to ignition and I want to know whether or not something would be feasible, so I figured I'd ask the experts...

I have been practicing with scripting in Ignition and something I did was I created a script to make an API call based on various tag conditions (i.e. if a tag is above a certain value, trigger a script to make an API call, etc.).

What I want to know is, can I copy this functionality with alarms? For example, when an alarm becomes active, could I trigger a script to make an API call? I don't have much experience with alarming and haven't been able to find exactly what I'm looking for yet. Is this possible? If so, how could I implement this?

Thanks in advance!

---

<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:** [March 14, 2024, 9:27pm UTC](https://forum.inductiveautomation.com/t/trigger-a-script-when-an-alarm-becomes-active/87364/2 "2024-03-14T21:27:00Z")

</div>

On each tag, you can configure a script to run whenever an alarm goes active.
