Script execution process
Scripts and script applications in Octoplant run only when triggered by defined events on the server or client side.
Info
The process below applies to both script files and script applications (EXE, BAT).
-
Scripting is enabled and configured
An administrator enables Scripting in the AdminClient under Global settings → Scripting and assigns scripts to events in the Script management module. -
An event occurs
A user or system operation (for example, upload, check-in, compare, open editor) triggers an event that has a script assigned. -
Octoplant checks the initialization file to determine what script to run.
-
Octoplant creates the interface file
Octoplant generates an interface file that contains information about the component, user, job, paths, and context of the event. Example:ScriptBeforeEdit.inispecifies whichSCRIPTfile orEXEshould be used for a given component type. -
Octoplant calls the script or script application
Octoplant passes the path to the interface file as a parameter. -
The script reads the interface file
The script reads the interface file, performs its configured action (for example, validation, file operations, calls to external tools), and writes results, warnings, or error codes. -
Octoplant evaluates the result
Depending on the event and configuration, Octoplant:- Continues the standard workflow
- Modifies the workflow (for example, skip upload, use prepared backup)
- Displays warnings or error messages based on the script output
For analysis and troubleshooting, use the Script management module, log files, and diagnostic tools in the AdminClient.
Related topics