# Historian does not always archive the value "on change"

**URL:** <https://forum.inductiveautomation.com/t/historian-does-not-always-archive-the-value-on-change/63438>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [August 25, 2022, 8:41am UTC](https://forum.inductiveautomation.com/t/historian-does-not-always-archive-the-value-on-change/63438 "2022-08-25T08:41:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![T\_Hat](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@T\_Hat](https://forum.inductiveautomation.com/u/T_Hat)\
**Post date:** [August 25, 2022, 8:41am UTC](https://forum.inductiveautomation.com/t/historian-does-not-always-archive-the-value-on-change/63438/1 "2022-08-25T08:41:10Z")

</div>

I have two variables linked by a script. Once WriteRequest gets value of 1, script executes and changes the value of WriteDone to 1. Looks like the script is running, but history not always see the change in value of WriteRequest. What can we do to fix it?

 ![Ignition_DB](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/c/9c36d4600a44f6612b83b38fddeb1bef7c7d5835.png)

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [August 25, 2022, 12:21pm UTC](https://forum.inductiveautomation.com/t/historian-does-not-always-archive-the-value-on-change/63438/2 "2022-08-25T12:21:25Z")

</div>

What are the polling (tag group pace) and history settings of `WriteRequest` ? If you aren’t polling fast enough, you can miss events.
