# Tags retentive issue

**URL:** <https://forum.inductiveautomation.com/t/tags-retentive-issue/75827>\
**Category:** Ignition\
**Created:** [July 3, 2023, 5:04am UTC](https://forum.inductiveautomation.com/t/tags-retentive-issue/75827 "2023-07-03T05:04:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [July 3, 2023, 5:04am UTC](https://forum.inductiveautomation.com/t/tags-retentive-issue/75827/1 "2023-07-03T05:04:02Z")

</div>

Hi,  
I have created 2 memory tags, 1 is string data type and another is of integer data type.  
I want to make both memory tags should be retentive,  
please let me know where I can enabled the retentivity.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [July 3, 2023, 5:50am UTC](https://forum.inductiveautomation.com/t/tags-retentive-issue/75827/2 "2023-07-03T05:50:46Z")

</div>

Memory tags are retentive by design, you don't need to enable it. Are you having an issue with memory tag values?

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

> Memory ![](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/8/38bc8dc05dda773c82413f104dedff28232a07d0.png) Tags are simple Tags, that do not automatically poll or update their value. They hold the same value until some other user-created mechanism (most likely a script or binding) changes their value. They're useful in situations where a value must be stored outside of a PLC or database.

> The state of memory tags are stored inside the gateway's internal database. This allows the tag and its value to be retained across gateway restarts.

---

<div class="post-metadata">

**Author:** ![Learner\_Ignition](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@Learner\_Ignition](https://forum.inductiveautomation.com/u/Learner_Ignition)\
**Post date:** [July 3, 2023, 6:06am UTC](https://forum.inductiveautomation.com/t/tags-retentive-issue/75827/3 "2023-07-03T06:06:35Z")

</div>

Thanks, however It was a mistake from my side, I didn't set it to bidirectional and whenever I was saving the project it get backs to its original value.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [July 3, 2023, 6:13am UTC](https://forum.inductiveautomation.com/t/tags-retentive-issue/75827/4 "2023-07-03T06:13:31Z")

</div>

> [@Learner\_Ignition](#):
>
> I didn't set it to bidirectional and whenever I was saving the project it get backs to its original value.

If you check I think you will find that it never changed after first creation. The component that was bound to it may have updated but the the memory tag stayed the same. That behaviour is by design.
