Script

Script task is used to executes .bat/.sh script file.

Input

Attribute
Description

Path

Path of the script file

Arguments

Argruments of the script

Timeout

Execution timeout in seconds.

MaxOutput

The maximum size of standard out/error message of the script captured.

Output

Attribute
Description

ExitCode

Exit code of the script

· 0 = success

· Non-zero = error

(*) Non-zero exit code does not mean the failure of the script task.

(*) If a script does not have an explicit exit code, exit code is implicitly assigned.

OutputMessage

Standard output/error message from the script

Example

This example receives one parameter #name# and return "Hello #name!". The script returns 0 as exit code.

Last updated