# Transaction groups triggered expression item updating when trigger is false

**URL:** <https://forum.inductiveautomation.com/t/transaction-groups-triggered-expression-item-updating-when-trigger-is-false/17196>\
**Category:** Ignition\
**Created:** [March 2, 2018, 3:35pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-triggered-expression-item-updating-when-trigger-is-false/17196 "2018-03-02T15:35:43Z")\
**Posts on this page:** 1\
**Showing post:** 19

<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:** [March 28, 2018, 3:41pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-triggered-expression-item-updating-when-trigger-is-false/17196/19 "2018-03-28T15:41:05Z")

</div>

So with some feedback from IA, I’ve spun up a new version, and I consider this one to be a [release candidate.](https://www.automation-pros.com/ignition/Simulation%20Aids-1.7.7.1803281441.modl)  
Two changes were made:

- The classes/interfaces to be checked within the adapter itself were adjusted to include the [VisionComponent](http://files.inductiveautomation.com/sdk/javadoc/ignition79/793/com/inductiveautomation/vision/api/client/components/model/VisionComponent.html) interface. I left the [DynamicPropertyProvider](http://files.inductiveautomation.com/sdk/javadoc/ignition79/793/com/inductiveautomation/factorypmi/application/binding/DynamicPropertyProvider.html) interface in the checklist in case there are third-party modules supplying components without the VisionComponent interface.

- The static block in my module hook was changed to first check if `Py.java2py()` yields a properly wrapped generic component. Like so:

```auto
static {
	PyObject pyo = Py.java2py(new PMILabel());
	if (!PyComponentWrapper.class.isInstance(pyo))
		Py.getAdapter().addPostClass(new PyComponentAdapter());
}

```

This is to avoid doubling up the adapter when IA adds this functionality to the base install. 😁  
( A doubled adapter wouldn’t really hurt anything, but for an itty-bitty conversion delay. )

---

_[View the full topic](https://forum.inductiveautomation.com/t/transaction-groups-triggered-expression-item-updating-when-trigger-is-false/17196)._
