# Derived Tag Source Change - Storing History

**URL:** <https://forum.inductiveautomation.com/t/derived-tag-source-change-storing-history/52281>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [October 25, 2021, 5:16am UTC](https://forum.inductiveautomation.com/t/derived-tag-source-change-storing-history/52281 "2021-10-25T05:16:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![james.beeley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.beeley/32/28019_2.png) [@james.beeley](https://forum.inductiveautomation.com/u/james.beeley)\
**Post date:** [October 25, 2021, 5:16am UTC](https://forum.inductiveautomation.com/t/derived-tag-source-change-storing-history/52281/1 "2021-10-25T05:16:12Z")

</div>

Good afternoon,

[https://docs.inductiveautomation.com/display/DOC81/Types+of+Tags](https://docs.inductiveautomation.com/display/DOC81/Types+of+Tags)

In this section of the manual, there’s a subsection titled “Changing the Source”. When I run this script on my script console, tag history stores. However, tag history won’t store a second time when changing back to the same tag value, when all changes are made through a script. Additionally, a null value is stored to history with each change.

Is this a known issue? Is there a work around?

Thank you for your time

---

<div class="post-metadata">

**Author:** ![james.beeley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.beeley/32/28019_2.png) [@james.beeley](https://forum.inductiveautomation.com/u/james.beeley)\
**Post date:** [October 25, 2021, 5:34am UTC](https://forum.inductiveautomation.com/t/derived-tag-source-change-storing-history/52281/2 "2021-10-25T05:34:21Z")

</div>

> [@Bug - changing reference path does not update tag historian value](https://forum.inductiveautomation.com/t/bug-changing-reference-path-does-not-update-tag-historian-value/43411):
>
> Ignition 8.1.0 Changing the path of a reference tag does change the tag value. But the historian is not updated. The Ignition historian tags will not update until the new referenced tag has been changed. Is there any way to force the tag to update in the historian?

This is a more clear post. However, IA haven't clarified whether this is a bug

---

<div class="post-metadata">

**Author:** ![james.beeley](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.beeley/32/28019_2.png) [@james.beeley](https://forum.inductiveautomation.com/u/james.beeley)\
**Post date:** [October 25, 2021, 11:27pm UTC](https://forum.inductiveautomation.com/t/derived-tag-source-change-storing-history/52281/3 "2021-10-25T23:27:52Z")

</div>

Update: I set sample mode to “Periodic” where I previously had it set to “On Change”. History is now storing correctly
