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
- The XML file exists and is accessible.
import os
print(os.path.exists(path))
Output:
True
- 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:
-
The script executes without any exception.
-
The function returns:
Result = None
- No Transaction Groups are created or visible under:
Transaction Groups -> Test
- 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.

