AnsweredAssumed Answered

Get(ScriptResult) returns null??

Question asked by PaulSeabright on Oct 11, 2018
Latest reply on Oct 11, 2018 by philmodjunk

I have a script with a Go to Object [Object Name: "CompleteFormButton"] script step.

 

There is an 'On Object Enter' script trigger setup for this button.

 

The 'On Object Enter' script exits with an 'Exit Script [Text Result:2]

 

The original script next sets a variable Set Variable [$scriptResult; Value: Get(ScriptResult)]

 

But.... $scriptResult has no value.

 

Is that because I am not explicitly calling the sub script?

 

Here is the code:-

Sub-script:-

 

$scriptResult is empty.

 

I appreciate that I could terminate the sub-script with Halt Script, but I'd be interested to know why in this case, $scriptResult has no value.

 

TIA

Outcomes