Execute script
Use String Encoder
When using the Secured String type in a sub-script within script:
- If a runtime parameter variable in the executed script is defined as a Secured String type, then the variable parameter in the calling script MUST be defined as Secured String.
- If a runtime parameter variable in the executed script is defined as a String type, then the parameter variable in the calling script can be defined as string or Secured String. This allows the user to decide whether or not to use a secured string.
When using Embedded script execution, the devices used are shared between the parent and child scripts; Whereas, Sync or Async run separate script executions, and the devices are not shared. In Async script execution, multiple sub-scripts can be invoked and executed simultaneously within a script.
Parameters
Name |
REST Name |
Type |
Default | Description |
---|---|---|---|---|
Script path* |
script |
STRING |
|
The full repository path, including directory and file name, where to locate the script. |
Script parameters* |
parameter |
STRING |
|
The script parameters. |
Script execution mode |
embedded (Embedded)
|
STRING |
Embedded |
The script execution mode. |
* Mandatory parameter