# How to know if a tag has history

**URL:** <https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [October 13, 2022, 8:22pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206 "2022-10-13T20:22:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Webb](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Daniel\_Webb](https://forum.inductiveautomation.com/u/Daniel_Webb)\
**Post date:** [October 13, 2022, 8:22pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206/1 "2022-10-13T20:22:17Z")

</div>

What is the Python script equivalent of looking at the tag browser:

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/5/95325585ec0247cbb08597d41f6577dab3941acc.png)

and seeing that there is the "has history" icon?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 13, 2022, 8:59pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206/2 "2022-10-13T20:59:36Z")

</div>

`system.tag.readBlocking(["someTag.HistoryEnabled"])`

All of the properties below a tag can be read like this:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/7/b71025db73f960a28b1824d77445bd2119edadb4.png)

---

<div class="post-metadata">

**Author:** ![Matrix\_Engineering](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/matrix_engineering/32/19781_2.png) [@Matrix\_Engineering](https://forum.inductiveautomation.com/u/Matrix_Engineering)\
**Post date:** [October 13, 2022, 9:50pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206/3 "2022-10-13T21:50:36Z")

</div>

The screenshot shows a gold scroll for history which suggest 7.9 or earlier, for which neither readblocking nor HistoryEnabled exist :\

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 13, 2022, 10:15pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206/4 "2022-10-13T22:15:28Z")

</div>

Despite not appearing in the tag browser, it appears to resolve; I'm not really familiar with 7.9's tag system to understand how:

```auto
system.tag.read("abc.HistoryEnabled").value

```

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/1/d1a9a84dab84e77a6efa20faa81fb1876a27c827.png)

---

<div class="post-metadata">

**Author:** ![Daniel\_Webb](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Daniel\_Webb](https://forum.inductiveautomation.com/u/Daniel_Webb)\
**Post date:** [October 14, 2022, 3:57pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206/5 "2022-10-14T15:57:29Z")

</div>

Yes, this is specific to 7.9.

I thought I added the Ignition79 tag, but it didn't work. I tried again just now with an edit and it appears to be added.

---

<div class="post-metadata">

**Author:** ![Daniel\_Webb](https://avatars.discourse-cdn.com/v4/letter/d/67e7ee/32.png) [@Daniel\_Webb](https://forum.inductiveautomation.com/u/Daniel_Webb)\
**Post date:** [October 14, 2022, 4:03pm UTC](https://forum.inductiveautomation.com/t/how-to-know-if-a-tag-has-history/65206/6 "2022-10-14T16:03:02Z")

</div>

That is also true on my system: it is not shown in the tag browser, but it does resolve and has the correct value.
