# Tag event scripting - only when tag value changes

**URL:** <https://forum.inductiveautomation.com/t/tag-event-scripting-only-when-tag-value-changes/32782>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 3, 2020, 7:49pm UTC](https://forum.inductiveautomation.com/t/tag-event-scripting-only-when-tag-value-changes/32782 "2020-03-03T19:49:51Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Tim](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim/32/3361_2.png) [@Tim](https://forum.inductiveautomation.com/u/Tim)\
**Post date:** [March 3, 2020, 8:04pm UTC](https://forum.inductiveautomation.com/t/tag-event-scripting-only-when-tag-value-changes/32782/3 "2020-03-03T20:04:43Z")

</div>

I think what you're doing should work as you describe. There were some bugs with initialChange with earlier versions 8 of and I seem to remember some early versions of 7 as well. Which version are you using?

> [@\[BUG - 13165\]Tag Event Script initial Change behavior had changed from 7.9 to 8.0](http://forum.inductiveautomation.com/t/bug-13165-tag-event-script-initial-change-behavior-had-changed-from-7-9-to-8-0/23381/4):
>
> Is there an update on this?

---

_[View the full topic](https://forum.inductiveautomation.com/t/tag-event-scripting-only-when-tag-value-changes/32782)._
