# Tag value change event on trial expired state

**URL:** <https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918>\
**Category:** Ignition\
**Created:** [June 23, 2020, 3:03pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918 "2020-06-23T15:03:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mori.luca](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mori.luca/32/13424_2.png) [@mori.luca](https://forum.inductiveautomation.com/u/mori.luca)\
**Post date:** [June 23, 2020, 3:03pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/1 "2020-06-23T15:03:48Z")

</div>

Hi,  
Im developing a software using the ignition 8.0 free trial.  
Even if the trial is expired, script binded to my udt tags value change are working.

I have 2 bool tags, when the first one value change to true I make an insert on a db, when the second become true I perform an update.  
Everything work as expected, but sometime the update is not being processed.

Is it possible that when the license expire, some script are not being execute?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 24, 2020, 1:51am UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/2 "2020-06-24T01:51:48Z")

</div>

They are not supposed to execute when the trial expires.

---

<div class="post-metadata">

**Author:** ![mori.luca](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mori.luca/32/13424_2.png) [@mori.luca](https://forum.inductiveautomation.com/u/mori.luca)\
**Post date:** [June 24, 2020, 6:12am UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/3 "2020-06-24T06:12:31Z")

</div>

In my project I have about 300 tag with value change script attached, and no vision or perspective.  
I’m not using any transaction, only Phyton and named queries.  
Everything work as if ignition was in free trial even when it is not, appart from that strange behaviour that happen sometime.  
It may be a bug then.  
Thanks

---

<div class="post-metadata">

**Author:** ![betti.francesco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/betti.francesco/32/6309_2.png) [@betti.francesco](https://forum.inductiveautomation.com/u/betti.francesco)\
**Post date:** [June 6, 2022, 3:43pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/4 "2022-06-06T15:43:15Z")

</div>

Hello, I just stumbled upon this issue. The version I’m using is 8.1.15, so I guess that if it was a bug it’s still there.  
Does anyone knows if there’s a way through scripting to check if the event has been fired for this kind of event? or otherwise, a way to check the license status, and maybe the license timer, through scripting?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 6, 2022, 5:48pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/5 "2022-06-06T17:48:44Z")

</div>

It’s definitely against the spirit of the license, if not the strict usage, to automate anything around trial mode. If you think you need this, buy the license.

---

<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:** [June 6, 2022, 6:05pm UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/6 "2022-06-06T18:05:06Z")

</div>

I don’t disagree with Phil, but for posterity, in 8.1.15+ there’s a license state system tag:  
[https://docs.inductiveautomation.com/display/DOC81/System+Tags#SystemTags-GatewaySystemTags](https://docs.inductiveautomation.com/display/DOC81/System+Tags#SystemTags-GatewaySystemTags)

---

<div class="post-metadata">

**Author:** ![betti.francesco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/betti.francesco/32/6309_2.png) [@betti.francesco](https://forum.inductiveautomation.com/u/betti.francesco)\
**Post date:** [June 8, 2022, 8:00am UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/7 "2022-06-08T08:00:50Z")

</div>

@pturmel Sorry my request was misunderstood. I have many projects for different customers, and usually I build a mirror system for development purpose. In some case they do provide it, but in such a case they don’t provide a license for those systems. It’s never been a problem to reset the trial time manually, until a couple days ago when I’ve found that 20k tags were raising tag change events with, apparently, no reason.

@paul-griffith thanks for the tip, anyway, as far as I know, the “LicenseState” tag only tells if there’s some sort of license applied, which is not much useful in this context. I’ve also found that the tag change event is thrown when restarting the OPC UA module, which could happen also in licensed environments. What I meant with my original question is if there could be some way to check if the tag change event is being thrown for reasons different from an actual tag change.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [June 8, 2022, 11:53am UTC](https://forum.inductiveautomation.com/t/tag-value-change-event-on-trial-expired-state/35918/8 "2022-06-08T11:53:47Z")

</div>

Are you checking the `initialChange` flag the event provides? Events are called during startup and immediately after code changes or tag restarts with that indicator set. This is documented.

{ I don’t think I misunderstood. I also do almost all of my development for clients using mirrored install w/o license. It is no excuse for trial mode shenanigans. }
