# Gateway Tag Change Script or Local Tag Change Script

**URL:** <https://forum.inductiveautomation.com/t/gateway-tag-change-script-or-local-tag-change-script/100275>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [December 27, 2024, 6:54pm UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-or-local-tag-change-script/100275 "2024-12-27T18:54:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [December 27, 2024, 8:29pm UTC](https://forum.inductiveautomation.com/t/gateway-tag-change-script-or-local-tag-change-script/100275/2 "2024-12-27T20:29:57Z")

</div>

> [@Robert\_Thompson](#):
>
> any difference

Oh, yes. Your script is very much unsuitable for definition on the tag itself. Some reading and further links:

> [@PLC to Ignition Interactions](https://forum.inductiveautomation.com/t/plc-to-ignition-interactions/99896/5):
>
> There are pros and cons. (Numerous discussions here on those.) But it is almost always preferable to system.util.invokeAsynchronous(). Starting new threads is a performance killer, and can run wild if you aren't careful. Discussions like these (and more, if you tweak the search terms): [https://forum.inductiveautomation.com/search?q=gateway%20tag%20change%20event%20valueChange%20thread%20pool%20order%3Alatest](https://forum.inductiveautomation.com/search?q=gateway%20tag%20change%20event%20valueChange%20thread%20pool%20order%3Alatest) If you have a particular need for valueChange scripting, but also need to not bloc…

---

_[View the full topic](https://forum.inductiveautomation.com/t/gateway-tag-change-script-or-local-tag-change-script/100275)._
