Execute script
Invokes a script located in the Perfecto Repository. This functionality lets you include sub-scripts within a script.
The script parameters must be entered in the same order and with the correct types as defined in the original script. The script will not work otherwise.
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 |
execution |
STRING |
Embedded |
The script execution mode. |
* Mandatory parameter