The system that triggers the import is not UC4. It’s another completely different application called SCM.
SCM sits between the source and target UC4 systems, and stores the XML file. It’s related to configuration management and change management. The jobs initiated by SCM (again,not UC4 jobs) can run just about anything, but they still rely on traditional return codes to distinguish success from failure.
I could write a script to do periodic checks for the appearance of a file though, so yes, I could imagine something like this:
- The script triggered by the SCM job writes the XML file that is picked up by an EVNT in UC4.
- UC4 imports the XML file and writes a trigger file indicating success or failure.
- The SCM script waits some amount of time, and then checks periodically for the appearance of the trigger file from UC4.
I simply find this approach inelegant and fragile. I don’t like using file triggers for flow control.