I want to change a script (import translated attributes) to be able to run it scheduled.
I'm able to gray out all dialog lines so it now actualy runs however I would like to get the result file which it shows in a dialog popup. which I think is in this part of the code
if (g_sErrorText.length > 0) {
var oOut = Context.createOutputObject(Constants.OUTTEXT, g_sErrorFile);
oOut.OutputLn(g_sErrorText, "Arial", 10, Constants.C_BLACK, Constants.C_TRANSPARENT, Constants.FMT_LEFT, 0);
oOut.WriteReport();
Dialogs.shell(g_sErrorFile);
Context.deleteFile(g_sErrorFile);
What should be changed to get this file on a location on the ARIS server?
Robert Goldenbaum on
Hello,
if you mean the ARIS internal "Scheduled Reports" - as far as I know, it is NOT possible to extract the report results and store them anywhere outside of ARIS.
But you could think about creating a task for a system user and try to put the errormessage in this task...