# Add a delay before transaction group read

**URL:** <https://forum.inductiveautomation.com/t/add-a-delay-before-transaction-group-read/18485>\
**Category:** Ignition\
**Created:** [June 15, 2018, 6:31pm UTC](https://forum.inductiveautomation.com/t/add-a-delay-before-transaction-group-read/18485 "2018-06-15T18:31:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psiuyo](https://avatars.discourse-cdn.com/v4/letter/p/53a042/32.png) [@Psiuyo](https://forum.inductiveautomation.com/u/Psiuyo)\
**Post date:** [June 15, 2018, 6:31pm UTC](https://forum.inductiveautomation.com/t/add-a-delay-before-transaction-group-read/18485/1 "2018-06-15T18:31:50Z")

</div>

We are using a transaction group with a single tag as a trigger, this data doesn’t change very often - only a couple times an hour. The problem we have is that the PLC can take up to 10 seconds to populate all the tags with the correct values, the trigger we are watching is the only one guaranteed to change however it isn’t the last tag the system updates. So we regularly get records in our database that are a mix of the current and previous job, depending on how slow the tags were rewritten.

I’ve changed the OPC data mode to “READ” hoping that the delay would be sufficient but it is still too fast. Is there a way to tell ignition to wait say 20 seconds after the trigger before it reads the entire transaction group?

---

<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 15, 2018, 7:15pm UTC](https://forum.inductiveautomation.com/t/add-a-delay-before-transaction-group-read/18485/2 "2018-06-15T19:15:06Z")

</div>

OPC Read Mode is designed expressly for this kind of data integrity, but it absolutely depends on the trigger being the last thing changed by the PLC. You could create a script and get under the hood with Java Scheduled Executor to give you the delay you want, but it really won’t be reliable without the PLC change.

---

<div class="post-metadata">

**Author:** ![monc](https://avatars.discourse-cdn.com/v4/letter/m/48db29/32.png) [@monc](https://forum.inductiveautomation.com/u/monc)\
**Post date:** [January 31, 2022, 4:03am UTC](https://forum.inductiveautomation.com/t/add-a-delay-before-transaction-group-read/18485/3 "2022-01-31T04:03:22Z")

</div>

@Psiuyo did you get any work around or solution for this?
