# Transaction Group Execute too early

**URL:** <https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179>\
**Category:** Ignition\
**Created:** [September 19, 2024, 1:10pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179 "2024-09-19T13:10:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [September 19, 2024, 1:10pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179/1 "2024-09-19T13:10:26Z")

</div>

Hello,

I have set up a transaction Group for calling a stored procedures in SQL Server.

There are :

- one input parameter
- one output parameter
- one trigger

Sometimes, the transaction is fired before Ignition get the input parameter.  
Althought I checked the checkbox "Only evaluate when values have changed" and selecting the input parameter.

How do you manage this kind of situation ?  
I could add a timer in the PLC before set the trigger but I hope there i a better way.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 19, 2024, 1:32pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179/2 "2024-09-19T13:32:25Z")

</div>

What kinds of items are these? What are your transaction group settings?

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [September 19, 2024, 1:45pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179/3 "2024-09-19T13:45:03Z")

</div>

It's integer tags. The PLC is a ControlLogix. We use the Allen-Bradley Logix Driver.

You can see the configuration in the capture below

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/6/4616916958a1e920875d776672d13f184f35411a.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/e/3e95fbe9c0e7611c377dfd0a3637f043b349e72c.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 19, 2024, 1:46pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179/4 "2024-09-19T13:46:50Z")

</div>

Try changing your OPC data mode to "Read", and make sure the group contains OPC _items_ and not existing OPC tags that you dragged in.

---

<div class="post-metadata">

**Author:** ![Raphael](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@Raphael](https://forum.inductiveautomation.com/u/Raphael)\
**Post date:** [September 19, 2024, 2:28pm UTC](https://forum.inductiveautomation.com/t/transaction-group-execute-too-early/96179/5 "2024-09-19T14:28:31Z")

</div>

Ok, thank you. I will try like this.

I didn't know it make a difference to create the item inside the Transaction Group vs drag an existing tag.
