# Tag change script execution

**URL:** <https://forum.inductiveautomation.com/t/tag-change-script-execution/114112>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [February 22, 2026, 2:14pm UTC](https://forum.inductiveautomation.com/t/tag-change-script-execution/114112 "2026-02-22T14:14:57Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [February 22, 2026, 3:44pm UTC](https://forum.inductiveautomation.com/t/tag-change-script-execution/114112/5 "2026-02-22T15:44:27Z")

</div>

> [@Tag Value Change Script gets executed multiple times](https://forum.inductiveautomation.com/t/tag-value-change-script-gets-executed-multiple-times/65089):
>
> Hi All, I have a named query that inserts one row of data, I'm calling this named query from a tag value change script (which also passes the tag value to that named query). Ideally I shouldn't see any duplicate values as it's a tag value change but I'm seeing a lot of duplicates. I have seen instances when the gateway is restarted then it triggers the tag value change script somehow but even if the gateway stays on it's happening. This is an OPC tag and I don't think the PLC is writing differ…

---

_[View the full topic](https://forum.inductiveautomation.com/t/tag-change-script-execution/114112)._
