# AbstractTagDriver with Ignition 8 - create new items when subscribed

**URL:** <https://forum.inductiveautomation.com/t/abstracttagdriver-with-ignition-8-create-new-items-when-subscribed/25532>\
**Category:** Module Development\
**Tags:** ignition80\
**Created:** [June 4, 2019, 12:31pm UTC](https://forum.inductiveautomation.com/t/abstracttagdriver-with-ignition-8-create-new-items-when-subscribed/25532 "2019-06-04T12:31:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 4, 2019, 12:31pm UTC](https://forum.inductiveautomation.com/t/abstracttagdriver-with-ignition-8-create-new-items-when-subscribed/25532/1 "2019-06-04T12:31:44Z")

</div>

@Kevin.Herron  
I have a module driver based on the AbstractTagDriver for Ignition 7.9  
I convert it to Ignition 8.0

In this driver, DriverTag are added in AbstractTagDriver::itemsAdded when the ignition subscribe for new items.  
I have too a few driverTags created when the module start.

I use Ignition 8.0.2-rc1 for my test.

For all the tag created when ignition subscribe, I have the status “Bad\_NotConnected”.  
It’s ok for the few tag created when the module start.

Note : In this case, the items can’t be browsed in the opc-ua server device.  
So I directly put in the designer the string for the OPCItemPath. For example : ns=1;s=[my\_device]my\_address

I’ve tested with a Subscribed or Polled TagGroup, but I have the same result.

Is it a normal behavior in Ignition 8.0 ? is there a workaround ?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 4, 2019, 12:56pm UTC](https://forum.inductiveautomation.com/t/abstracttagdriver-with-ignition-8-create-new-items-when-subscribed/25532/2 "2019-06-04T12:56:52Z")

</div>

That this worked in 7.9 seems to be by accident; the driver wasn’t meant to handle adding tags dynamically after startup.

You might be able to work around this by overriding `buildNode` in your driver like this:

```auto
@Override
public void buildNode(String address, NodeId nodeId) throws AddressNotFoundException {
    // if address represents a tag that should exist in your driver, call addDriverTag
    ...

    super.buildNode(address, nodeId);
}

```

---

<div class="post-metadata">

**Author:** ![mazeyrat](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mazeyrat/32/10955_2.png) [@mazeyrat](https://forum.inductiveautomation.com/u/mazeyrat)\
**Post date:** [June 4, 2019, 1:33pm UTC](https://forum.inductiveautomation.com/t/abstracttagdriver-with-ignition-8-create-new-items-when-subscribed/25532/3 "2019-06-04T13:33:43Z")

</div>

Thanks a lot !  
This has solved my issue.
