# Transaction Groups - Trigger Not Firing Properly?

**URL:** <https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 27, 2022, 11:33am UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920 "2022-04-27T11:33:01Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [April 27, 2022, 11:33am UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/1 "2022-04-27T11:33:01Z")

</div>

I’m attempting to utilize transaction groups to block tag changes together. We have 10 assembly lines and I want to track when a new piece has been counted or the part/job has changed over. I have created a Block transaction group in order to group these together (as well as a few other accessory tags).

I’ve setup the trigger to be whenever the “Total Count”, “Job” or “Part” tags have changed, but it’s being a bit inconsistent in how it decides to fire the trigger.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/6/56a6a9576f2b397b623f7be25a2561c26018e897.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/e/bee875884eb5777f9ed227958d7c32275b54ab54.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/2/c/2c752c82bfa017cd7858a9a98e78b55fdbb61d6f.png)  
Looking at just one production line (i.e. row\_id = 2), it’s reporting when the target\_count or the total\_count chnages (even though target\_count is not selected as one of the tags to trigger the group).

I would expect to see a new row whenever the total\_count, product\_block, or job\_block changed values, but not the target\_count.

---

<div class="post-metadata">

**Author:** ![CosmoStevens](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cosmostevens/32/32309_2.png) [@CosmoStevens](https://forum.inductiveautomation.com/u/CosmoStevens)\
**Post date:** [April 29, 2022, 9:38pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/2 "2022-04-29T21:38:13Z")

</div>

Hi Joe,

Your setup looks correct to me. I set it up the same way on my machine, but it worked as expected. Was target\_count accidentally placed in TotalCountBlock, ProductBlock, or JobBlock? Do you have any tags that are in TargetCountBlock that are also in one of the three trigger blocks? If a tag is in both, it will cause the transaction group to trigger.

---

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [May 2, 2022, 12:19pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/3 "2022-05-02T12:19:26Z")

</div>

So, yes, each production line has it’s own “total\_count” tag that I want to record with the block (and they’re all in the “TotalCountBlock”). With that said, is that not the way to do it? Do I need to create a separate transaction group for each production line so that each line fires on it’s own respective “total\_count” tag value-change?

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 2, 2022, 12:22pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/4 "2022-05-02T12:22:35Z")

</div>

> [@Joe\_Kelly](#):
>
> Do I need to create a separate transaction group for each production line so that each line fires on it’s own respective “total\_count” tag value-change?

In this instance, yes. Also, the separate groups will make it easier to store it in a wide format, in turn, making it easier for later queries against the table.

---

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [May 2, 2022, 12:28pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/5 "2022-05-02T12:28:10Z")

</div>

OK, I can see that. I guess I was hoping to have all of the data in one table so I can do a query something like “WHERE line = 1” and get all of the data for that particular line. Thanks for the help!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 2, 2022, 12:29pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/6 "2022-05-02T12:29:17Z")

</div>

Nothing says you can’t. I add a column for the line/cell that is hardcoded for the group. 😉

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [May 2, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/7 "2022-05-02T12:40:34Z")

</div>

Example from my setup. Mine just arbitrarily runs every 10 seconds. Other values, like line number, efficiency, etc .are in the triggered expression items.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/1/f16ee9a6d87ae3750333261bcf837b2d9ffd3d3e.png)

---

<div class="post-metadata">

**Author:** ![Joe\_Kelly](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joe_kelly/32/30990_2.png) [@Joe\_Kelly](https://forum.inductiveautomation.com/u/Joe_Kelly)\
**Post date:** [May 2, 2022, 1:05pm UTC](https://forum.inductiveautomation.com/t/transaction-groups-trigger-not-firing-properly/58920/8 "2022-05-02T13:05:14Z")

</div>

Perfect! Thanks, Jordan!
