Derived Tag Source Change - Storing History

Good afternoon,

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

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

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