# Scripting Transaction Groups

**URL:** <https://forum.inductiveautomation.com/t/scripting-transaction-groups/30450>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [December 4, 2019, 8:41pm UTC](https://forum.inductiveautomation.com/t/scripting-transaction-groups/30450 "2019-12-04T20:41:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [December 4, 2019, 8:41pm UTC](https://forum.inductiveautomation.com/t/scripting-transaction-groups/30450/1 "2019-12-04T20:41:26Z")

</div>

Are there any plans to add more Transaction Group scripting functions? Right now I see that the generally accepted way (at least as of 2014…) for automating Transaction Group creation is to:

1. Export a “Template” transaction group XML file.
2. Load this file in a Script and modify it to however it needs to be changed.
3. Re-export to XML
4. Use a script to import the new customized file.

Will there be more scripting functions added for transaction groups so the creation of them can be more easily automated? Also, will it be possible to enable/disable groups via scripting?

---

<div class="post-metadata">

**Author:** ![jburt](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jburt](https://forum.inductiveautomation.com/u/jburt)\
**Post date:** [January 28, 2020, 5:22pm UTC](https://forum.inductiveautomation.com/t/scripting-transaction-groups/30450/2 "2020-01-28T17:22:01Z")

</div>

This would be very nice. Or an option to import/export with json instead of xml.

I wrote a short script to help create transaction groups from a CSV. This could be modified to create a large number of transaction groups, but I only needed it to create a transaction group with a large number of items.

> **[alphabet5/Ignition\_Transaction\_Group](https://github.com/alphabet5/Ignition_Transaction_Group)**
>
> Short script to help create transaction groups within Ignition (v8) - alphabet5/Ignition\_Transaction\_Group
