# Gateway Tag change script for all instance of one UDT

**URL:** <https://forum.inductiveautomation.com/t/gateway-tag-change-script-for-all-instance-of-one-udt/6583>\
**Category:** Ignition\
**Created:** [May 25, 2013, 1:53pm UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-for-all-instance-of-one-udt/6583 "2013-05-25T13:53:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [May 25, 2013, 1:53pm UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-for-all-instance-of-one-udt/6583/1 "2013-05-25T13:53:48Z")

</div>

Gateway Tag change script for all instance of one UDT with only one “On Change” entry to add for one UDT member to trigger the script for all the instance could be helpfull.

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [May 28, 2013, 10:25pm UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-for-all-instance-of-one-udt/6583/2 "2013-05-28T22:25:35Z")

</div>

Hi,

Yes, that’s a good idea. We’ve also been kicking around putting the “on change” scripts directly on the tags, which would let you define this directly on the data type. We might consider it for 7.7.

Regards,

---

<div class="post-metadata">

**Author:** ![diat150](https://avatars.discourse-cdn.com/v4/letter/d/a587f6/32.png) [@diat150](https://forum.inductiveautomation.com/u/diat150)\
**Post date:** [May 28, 2013, 11:13pm UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-for-all-instance-of-one-udt/6583/3 "2013-05-28T23:13:17Z")

</div>

[quote=“Colby.Clegg”]Hi,

Yes, that’s a good idea.We’ve also been kicking around putting the “on change” scripts directly on the tags, which would let you define this directly on the data type. We might consider it for 7.7.

Regards,[/quote]

yes please. I am assuming that this would be gateway scoped? either that or give us access to the list of tags in the on change section of each script via scripting. thats a hot ticket item for me.
