# Multiple Triggers For Gateway Tag Change Scripts

**URL:** <https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622>\
**Category:** Ignition\
**Tags:** scripting, vision\
**Created:** [October 17, 2023, 9:09pm UTC](https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622 "2023-10-17T21:09:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![William\_R](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/william_r/32/32710_2.png) [@William\_R](https://forum.inductiveautomation.com/u/William_R)\
**Post date:** [October 17, 2023, 9:09pm UTC](https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622/1 "2023-10-17T21:09:12Z")

</div>

Any insight would be much appreciated, as I have seen some conflicting info on this question. When you have a gateway tag change event script, and you have multiple triggers for the script, will they run in series or can that same script run x amount times for x amount of triggers in parallel? Would I have to split this script up to have them run the different triggers in parallel? TIA.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/ce43b7226510a455a696dd3dd27565c3dd42176c.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 17, 2023, 9:10pm UTC](https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622/2 "2023-10-17T21:10:01Z")

</div>

In series.

---

<div class="post-metadata">

**Author:** ![William\_R](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/william_r/32/32710_2.png) [@William\_R](https://forum.inductiveautomation.com/u/William_R)\
**Post date:** [October 17, 2023, 9:11pm UTC](https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622/3 "2023-10-17T21:11:07Z")

</div>

@Kevin.Herron Thank you. Will they start a queue for FIFO? How long can the queue be? If I split this up into 9 different scripts with each its own trigger, can the 9 scripts run concurrently (that is they are all triggered at the same time)?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [October 17, 2023, 9:12pm UTC](https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622/4 "2023-10-17T21:12:32Z")

</div>

> [@William\_R](#):
>
> Will they start a queue for FIFO?

Yeah, they're queued. There's no limit on the queue size (⚠)

> [@William\_R](#):
>
> If I split this up into 9 different scripts with each its own trigger, can the 9 scripts run concurrently

Yep.

---

<div class="post-metadata">

**Author:** ![William\_R](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/william_r/32/32710_2.png) [@William\_R](https://forum.inductiveautomation.com/u/William_R)\
**Post date:** [October 17, 2023, 9:13pm UTC](https://forum.inductiveautomation.com/t/multiple-triggers-for-gateway-tag-change-scripts/80622/5 "2023-10-17T21:13:12Z")

</div>

Looks like I will be splitting this up, thanks!
