I would approach this by making a custom record ty...
# suitescript
j
I would approach this by making a custom record type that captures information about the run of the script. When your script is done it can create custom record and saves its parameters (and maybe other things, like its output values). The next time the script runs it can search for hte most recently created instance of that custom record.