# Remove Tags Event

**URL:** <https://forum.inductiveautomation.com/t/remove-tags-event/14906>\
**Category:** Module Development\
**Tags:** sdk\
**Created:** [July 27, 2017, 3:07pm UTC](https://forum.inductiveautomation.com/t/remove-tags-event/14906 "2017-07-27T15:07:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjackson](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@sjackson](https://forum.inductiveautomation.com/u/sjackson)\
**Post date:** [July 27, 2017, 3:07pm UTC](https://forum.inductiveautomation.com/t/remove-tags-event/14906/1 "2017-07-27T15:07:34Z")

</div>

When using a DriverTag in AbstractDriver I can override the methods getAdress(), getDataType() and getValue(). GetValue is only called when a tag is subscribed int the designer; but I need to run some logic when the tag is unsubscribed in the designer. Is there a way to do that?

---

<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:** [July 27, 2017, 3:21pm UTC](https://forum.inductiveautomation.com/t/remove-tags-event/14906/2 "2017-07-27T15:21:14Z")

</div>

Not with the simple `DriverTag` abstraction you’re using.

You can do anything you want if your driver just implements the `Driver` interface, which will include adding a `ModelChangeListener` to the subscription model available via `DriverContext`.

edit: on second thought, you could probably still do that with what you’re currently using as well.

---

<div class="post-metadata">

**Author:** ![sjackson](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@sjackson](https://forum.inductiveautomation.com/u/sjackson)\
**Post date:** [July 28, 2017, 1:01pm UTC](https://forum.inductiveautomation.com/t/remove-tags-event/14906/3 "2017-07-28T13:01:43Z")

</div>

Yes I can. Thank you,
