# Tag Value (Change Event)

**URL:** <https://forum.inductiveautomation.com/t/tag-value-change-event/29447>\
**Category:** Ignition\
**Created:** [October 28, 2019, 2:41pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event/29447 "2019-10-28T14:41:01Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [October 28, 2019, 5:03pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event/29447/8 "2019-10-28T17:03:05Z")

</div>

> [@MMaynard](#):
>
> Use
> 
> ```auto
> if not initialChange and currentValue.value < 0.00:
> system.tag.write("[.]Flow1 Rate",0.00)
> 
> ```

Yes. And if it's writing back to itself, you don't need to include a tag path, just use the `tagPath` included in the event like this:

```auto
if currentValue.value < 0:
	system.tag.write(tagPath, 0)

```

`if not initialChange` makes sense for most things, but it you never want this value to be zero there's no reason to exclude initialChange.

---

_[View the full topic](https://forum.inductiveautomation.com/t/tag-value-change-event/29447)._
