# The method updateValue doesn't create tags

**URL:** <https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421>\
**Category:** Ignition Early Access\
**Created:** [February 7, 2019, 4:31pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421 "2019-02-07T16:31:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [February 7, 2019, 4:31pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421/1 "2019-02-07T16:31:52Z")

</div>

Hello,

I’m currently in the process of migrating some of our own modules from 7.9 to 8.0 and testing for any changes. Per the javadoc, updateValue under com.inductiveautomation.ignition.gateway.tags.managed.ManagedTagProvider is supposed to create tags when they don’t exist, but I found that they do not. Was this an intentional change that didn’t update with the javadoc?

In order to create the tags, I had to call configureTag (from the same interface), sleep the thread for a moment, and then call updateValue to properly initialize everything.

---

<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:** [February 7, 2019, 4:42pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421/2 "2019-02-07T16:42:25Z")

</div>

~~The internal implementation of `updateValue` makes the same assertion that it should create the tags, so it looks like it might be a problem on our side. I’ll do some more digging to see what’s going on.~~

With some testing through the gateway system tags, I was able to create a tag using only `updateValue` - although it’s not _quite_ the same as going through a custom module. Do you have your code available anywhere?

---

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [February 12, 2019, 4:07pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421/3 "2019-02-12T16:07:51Z")

</div>

Hi @paul-griffith , thanks for getting back to me. The following is a snippet of code of what we have in Ign8 that doesn’t create the tag. The code is fairly similar in Ign7, with the exception of the tag quality argument. If I were to call configureTag before updateValue, the tag is then created. Any insight would be appreciated, thanks.

public static void init():{

successfulSends = 0;

static final String SUCCESSFUL\_SENDS = “WebSF/SuccessfulSends”;

systemTags.updateValue(SUCCESSFUL\_SENDS, successfulSends, QualityCode.Good);

}

---

<div class="post-metadata">

**Author:** ![Eden.Mar](https://avatars.discourse-cdn.com/v4/letter/e/35a633/32.png) [@Eden.Mar](https://forum.inductiveautomation.com/u/Eden.Mar)\
**Post date:** [February 21, 2019, 9:58pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421/4 "2019-02-21T21:58:27Z")

</div>

Hello, has there been any further updates on this?

---

<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:** [February 27, 2019, 7:46pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421/5 "2019-02-27T19:46:19Z")

</div>

I haven’t been able to reproduce the behavior you’re seeing. Would it be possible to send me your full module code, via PM or email or equivalent?

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [April 2, 2019, 6:42pm UTC](https://forum.inductiveautomation.com/t/the-method-updatevalue-doesnt-create-tags/22421/6 "2019-04-02T18:42:26Z")

</div>

I’m closing this due to inactivity. If you are still having issues, please let us know.
