Transaction Group Import via system.groups.loadFromFile() Executes Successfully but No Transaction Groups Are Created

Hi,
I am facing an issue while importing Transaction Groups programmatically using the system.groups.loadFromFile() function.

Environment

  • Ignition Version: 8.3.6
  • Module: SQL Bridge / Transaction Groups
  • Execution Scope: Perspective Button onClick Event
  • Project Name: Test

Scenario

I exported an existing Transaction Group to an XML file and attempted to import it using the following script:

path = r"C:\Users\Z37322\Downloads\FH2TGXMLFile.xml"

result = system.groups.loadFromFile(path, "Test", 1)

system.perspective.print("Result = " + str(result))

Show more lines

Observations

  1. The XML file exists and is accessible.

import os

print(os.path.exists(path))

Output:

True

  1. The XML content can be read successfully.

f = open(path, "r")

print(f.read(500))

f.close()

Output shows valid Transaction Group XML beginning with:

  1. The script executes without any exception.

  2. The function returns:

Result = None

  1. No Transaction Groups are created or visible under:

Transaction Groups -> Test

  1. No related warnings or errors are observed in Gateway logs.

Troubleshooting Performed

  • Verified XML file accessibility.
  • Tested on local Gateway installation.
  • Verified Project Name exists.
  • Tested import modes 0, 1, and 2.
  • Refreshed Designer and reopened project.
  • Confirmed XML contains Transaction Group definitions.

Question

  • Is system.groups.loadFromFile() supported for importing Transaction Groups in Ignition 8.3.6?
  • Should the XML follow a specific format different from the exported Transaction Group XML?

Sample XML Structure

Please advise whether this API is expected to create Transaction Groups in Ignition 8.3.6 and if there are any additional requirements or limitations.

Thank you.

This should work. Can you contact support to report this issue formally?

Yeah Sure paul.
i will raise the ticket regarding this

Do you have the designer open when running? If so after pressing the button can you hit save to see if the group shows up? Or Closing the designer and reopening it?