# Transaction group logging repeated values

**URL:** <https://forum.inductiveautomation.com/t/transaction-group-logging-repeated-values/96547>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 27, 2024, 1:09pm UTC](https://forum.inductiveautomation.com/t/transaction-group-logging-repeated-values/96547 "2024-09-27T13:09:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arunachalam\_Narasimh](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Arunachalam\_Narasimh](https://forum.inductiveautomation.com/u/Arunachalam_Narasimh)\
**Post date:** [September 27, 2024, 1:09pm UTC](https://forum.inductiveautomation.com/t/transaction-group-logging-repeated-values/96547/1 "2024-09-27T13:09:32Z")

</div>

I am using transaction group to log data into a database. It works fine, but often logs duplicate data with same timestamp or sometime even with microseconds difference as seen in the pic attached. I try changing the target table that works for some time and again this issue repeats. I am also attaching the pictures of other settings that I used for the TG. Can somebody please help with this?  
Aim of the TG: Log values whenever there is a change in one of the values of 'Comp1\_switch', 'Comp2\_switch','Tower1\_switch','Tower2\_switch' only when 'Plant switch' is ON (1).

 ![actipn](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/6/06848f0addffab4924a46ccaf35e04777ea6c416.jpeg)  
 ![select_tags](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/5/35d2eab10a08739f84d316b93b57efd883684b18.jpeg)  
 ![TG_error](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/8/081a08e9e094ffab7ad59043366776fd51cacf75.jpeg)  
 ![trigger](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/a/4a233b8227db190beafa3802593b01a46bf97ec1.jpeg)

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [September 27, 2024, 2:22pm UTC](https://forum.inductiveautomation.com/t/transaction-group-logging-repeated-values/96547/2 "2024-09-27T14:22:48Z")

</div>

You might check that you're not doing this in an inheritable project. I believe if you're doing it in a parent project and another project inherits it, both your parent project and the child project will execute these in duplicate.

If this is the case, I'd recommend making a separate project just for running your transaction groups so they're not replicated.

---

<div class="post-metadata">

**Author:** ![Arunachalam\_Narasimh](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Arunachalam\_Narasimh](https://forum.inductiveautomation.com/u/Arunachalam_Narasimh)\
**Post date:** [October 7, 2024, 8:37am UTC](https://forum.inductiveautomation.com/t/transaction-group-logging-repeated-values/96547/3 "2024-10-07T08:37:50Z")

</div>

Hi,  
Thanks for your comment. But, I run this in a separete project that has neither a parent nor a child. Sometimes, changing the sql table that the TG connects with, helps. But, still I am not sure that it won't start injecting duplicate values again as I have switched to a new table multiple times.
