# Custom QualifiedValue

**URL:** <https://forum.inductiveautomation.com/t/custom-qualifiedvalue/90394>\
**Category:** Module Development\
**Created:** [May 14, 2024, 11:06pm UTC](https://forum.inductiveautomation.com/t/custom-qualifiedvalue/90394 "2024-05-14T23:06:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<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:** [May 15, 2024, 11:54pm UTC](https://forum.inductiveautomation.com/t/custom-qualifiedvalue/90394/4 "2024-05-15T23:54:36Z")

</div>

Right - CloneUtil isn't working for your class because we deliberately segment each module into a different classloader so that they can bring in different versions of possibly conflicting dependencies and don't stomp all over each other.

I don't think there's really any way around that.

_But_, good news/bad news...  
I don't think the custom qualified value _or_ directly manipulating tag properties is what you want to do at all. And there is a mechanism for doing it - the so called 'tag actor' system, where you register a 'factory' via your module hook, and the tag system automatically creates as many instances of your actor (which can intercept writes, manipulate values, log, etc) as are required by the underlying tags.  
To my mind, this is the perfect solution to your problem.

The bad news, then:  
There's close to zero public facing documentation on this system (and it would be the blind leading the blind if I tried to offer more than very broad spectrum advice).  
Some starting points:

> [@TagConfigurationRecord RecordListenerAdapter not work](https://forum.inductiveautomation.com/t/tagconfigurationrecord-recordlisteneradapter-not-work/58730/3):
>
> Record and modify alarm records (including time, person and last record)

> [@Tag Write Handler - Custom Property & Edit Raw event](https://forum.inductiveautomation.com/t/tag-write-handler-custom-property-edit-raw-event/53021/6):
>
> I finally contacted the Inductive team. Here is the solution they provided, which works perfectly. It’s possible to catch the modification events of a custom tag property and the editing events of a tag via the Edit (Raw) using the new tag actor factory API. Essentially, you just need to register your own tag actor factory that specifies which properties you are interested in subscribing to. You can subscribe to any property including custom properties. I put you the example provided in atta…

---

_[View the full topic](https://forum.inductiveautomation.com/t/custom-qualifiedvalue/90394)._
