Skip to main content

Script Results

After a script is run the results will be displayed in a new document. The results will include information like the name of the script run, the time it was run at, script run status, and any results.

{   "script": "scriptName",   "run": "10:16:48",   "elapsed": "0.28 secs",   "status": "Script completed successfully",   "error": "Error message",   "debugInfo": {},   "result": {   },   "callbackResults": [   ]}

Results explained:

  • script : name fo the script that was run
  • run : the time when the script was run
  • elapsed : the time ti took for the escript to run
  • status : whether the scritp executed successfully or errored
  • error: any error message thrown by the script
  • debugInfo: Information included when a script fails including the version of the IDE Extension, the environment configuration, and the current context with which the script was running
  • result : the result returned by the script
  • callbackResults : an array of the results returned to each invocation of the callback