# Access to Store and Forward system from scripting

**URL:** <https://forum.inductiveautomation.com/t/access-to-store-and-forward-system-from-scripting/5200>\
**Category:** Ignition\
**Created:** [September 26, 2012, 5:26pm UTC](https://forum.inductiveautomation.com/t/access-to-store-and-forward-system-from-scripting/5200 "2012-09-26T17:26:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimhuey](https://avatars.discourse-cdn.com/v4/letter/j/96bed5/32.png) [@jimhuey](https://forum.inductiveautomation.com/u/jimhuey)\
**Post date:** [September 26, 2012, 5:26pm UTC](https://forum.inductiveautomation.com/t/access-to-store-and-forward-system-from-scripting/5200/1 "2012-09-26T17:26:15Z")

</div>

When performing database inserts through scripting, it would be useful to have those transactions go through the Store and Forward system used by Transaction Groups.

---

<div class="post-metadata">

**Author:** ![CDRiley](https://avatars.discourse-cdn.com/v4/letter/c/cdc98d/32.png) [@CDRiley](https://forum.inductiveautomation.com/u/CDRiley)\
**Post date:** [October 26, 2012, 2:44pm UTC](https://forum.inductiveautomation.com/t/access-to-store-and-forward-system-from-scripting/5200/2 "2012-10-26T14:44:18Z")

</div>

I will second this request. I have several insert/update queries and “one-way” stored procedure calls that would benefit from Store&Forward. We have occasional network slowdowns and the monthly Sunday 3am Db outage for 20 minutes.  
Any select query or stored procedure that returned values should have a flag/argument that bypasses store&forward. A flag on script queries would leave the Store&Forward decision in the script programmer’s hands.

---

<div class="post-metadata">

**Author:** ![chi](https://avatars.discourse-cdn.com/v4/letter/c/0ea827/32.png) [@chi](https://forum.inductiveautomation.com/u/chi)\
**Post date:** [October 26, 2012, 3:25pm UTC](https://forum.inductiveautomation.com/t/access-to-store-and-forward-system-from-scripting/5200/3 "2012-10-26T15:25:52Z")

</div>

Hi,  
i had the same needs and wrote a little module that at least enables store&forward for inserts from scripts. Feel free to use it if it fits your requirements.
