dmashburn3
03/06/2020, 2:21 PMruntime.getCurrentScript()
is there anyway to get the numeric id of the script as opposed to the string customscript_xxx
? I'm not seeing it on the runtime.Script
object at all.NElliott
03/06/2020, 2:27 PMvar scriptObj = runtime.getCurrentScript();
log.debug("Script Id: " + scriptObj.id);
Not sure if that's what you need or what yo're seeingdmashburn3
03/06/2020, 2:27 PMcustomscript_xxx
NElliott
03/06/2020, 2:28 PMdmashburn3
03/06/2020, 2:28 PM.setValue
doesn't work with customscript_xxx
, so I need that numeric id.NElliott
03/06/2020, 2:29 PMdmashburn3
03/06/2020, 2:29 PMdmashburn3
03/06/2020, 2:30 PMdmashburn3
03/06/2020, 2:30 PMtoJSON
and toString
are both not showing any additional information. Might just have to go with script stringsNElliott
03/06/2020, 2:30 PMdmashburn3
03/06/2020, 2:30 PMNElliott
03/06/2020, 2:31 PMvar output = url.resolveScript({
scriptId: 'custom_script',
deploymentId: 'custom_script_deployment',
returnExternalUrl: true
});
alien4u
03/06/2020, 3:07 PMdmashburn3
03/06/2020, 3:07 PMdmashburn3
03/06/2020, 3:08 PMalien4u
03/06/2020, 3:09 PMalien4u
03/06/2020, 3:09 PMdmashburn3
03/06/2020, 3:17 PMjkabot
03/06/2020, 5:41 PM