3 Replies Latest reply: Jun 7, 2017 3:58 PM by Simon Angland RSS

    Conditional reloads

    Simon Angland

      HI, I have a model that reloads regularly from QMC. The reload should only run if a file exists otherwise exit. The Exit Script function will stop execution and save the model at this point without data or partially completed which is no good. I can save data in qvd's and reload these rather than exiting but the qvd's can be large. I can use a batch file to reload where the batch file checks if the file exists, but I also want to move the files if successfully loaded which is done inside the load script.

      Don't want to use EDX.

      A workaround is make the load script error if no file is found and put up with the error notifications from QMC but pretty ugly.

      Is there any way to just exit a reload gracefully without loading any data and without changing the model ?