Stop component

Table of Contents

Description

Terminates the execution of the script branch in a correct manner. Provides for the return of control from a nested scenario to a superior scenario.

Table 1. System Characteristics

Index

102

Short title

stop

Types of scenarios

All of them

Starter module

r_script_component_stop

Mode

Synchronous

Icon

102

Branching pattern

Non-branching

Properties

Table 2. Properties
Specification Description

Title: Return of Control
Code: callStack
Visibility: no
Default: No

Enables or disables further transfer of control to the previous script in the nested script stack when the current script terminates, provided it is nested.
The return will occur only if the field value is Yes and the current scenario was started by a component with control return enabled.

Title: Result
Code: returnValue
Visibility: no
Default: empty

An argument containing the result returned by the script back down the call stack. This is saved to the parent script variable specified in the 'Result to variable' field of the component 'Script Runs'.
Also writes the value to a variable named "result" if it exists in the script.
This variable in a number of functions passes a value from the script to higher-level logic. For example, external authorization script.

See also