Exit Codes

The program attempts to obtain exit codes for your tasks.  If it fails to show an exit code and your task fails, please view the task and output logs as well as the debug log from the Log menu.

If a task exits normally, without generating any error, Exit Code = 0.  For many tasks which involve monitors or file downloads, the Exit Code = -100 or -101 if the tasks passes and/or monitoring or download criteria are met.
 

Task Type

Error description

CopyFile

EC = 1, File copy failed, no other information, check logs
EC = 2, Invalid target directory
EC = 3, Invalid source directory
EC = 100, Invalid task data format

PrintFile

EC=0 always.  No Exit codes provided.  Please view output log for error information.

DeleteFile

EC = 1, File delete failed
EC = 2, Invalid local directory
EC = 100, Invalid task data format

Text Search

EC = -100, no error, search string(s) found in file(s)
EC = 0, no error, search string(s) NOT found in file(s)
EC = 1, task failed, no other details, check logs
EC = 2, Invalid results directory
EC = 3, Invalid source directory
EC = 4, Error occured while reading source file
EC = 5, Error occured while writing to results file
EC = 100, Invalid task data format

Command

EC != 0 , System/program generated
EC = 100, Invalid task data format
EC = 101, Unknown (check log)
EC = 200, Wait time exceeded

WinCommand

EC != 0 , System/program generated
EC = 1, WinCommand.exe Failed to start process
EC = 2, process did not allow WinCommand.exe to wait on it
EC = 3, process abandoned without providing feedback
EC = 10, could not open or access WinCommand.exe input data file
EC = 100, Invalid task data format
EC = 101, Unknown (check log)
EC = 258, Wait time exceeded

Ftp

EC = -100, no error, file changes were detected, files were transferred
EC = 0, no error, no file changes were detected, no files were transferred
EC = 1, Failed to transfer/delete file(s)
EC = 2, Failed to connect to server
EC = 3, Invalid user/password
EC = 4, Invalid remote directory
EC = 5, Failed to set Binary
EC = 10, Invalid local directory
EC = 100, Invalid task data format

Ping

EC = 0, no error, connection accepted
EC = 1, connection denied or timed out
EC = 5, ping not attempted, time since last Ping < 5 minutes. 
EC = 100, Invalid task data format

Telnet

No exit code information except connection status.
EC = 0, connected successfully
EC = 1, failed to connect

Telnet(Adv)

No exit code information except connection status.
EC = 0, connected successfully
EC = 1, failed to connect

Email

EC = 1, Email failed, check debug and/or output logs
EC = 100, Invalid task data format

Bulk Email

EC = 1, Task failed, check debug and/or output logs
EC = 100, Invalid task data format

Check Email

EC = -100, no errors, messages were downloaded to the mail folder
EC = 0, no error, no messages satisfied conditions for downloading
EC = 1, Task failed, check debug and/or output logs
EC = 2, Failed to connect to email server
EC = 3, Failed to open the default INBOX folder
EC = 4, Failed to obtain a list of messages in your INBOX folder
EC = 100, Invalid task data format

Web

EC = 1, Download failed
EC = 100, Invalid task data format

Url Monitor

EC = 0, no error, no files downloaded
EC = 1, no files downloaded, errors detected
EC = 100, Invalid task data format
EC = 105, Failed to create sub directory
EC = -100, no error, Url change(s) detected, file(s) downloaded
EC = -101, Url change(s) detected, file(s) downloaded.  Some error(s) detected, but these errors are generally due to task trying to download invalid protocol files or  directory listings.

Database

EC = -100, no error, database change detected during Select statement
EC = 0, no error, database change was NOT detected during Select
EC = 1, failed to connect to Database
EC = 2, SQL exception
EC = 3, other exception within SQL loop
EC = 4, error writing select statement data to file
EC = 100, Invalid task data format

Dir Change

EC = -100, no error, Dir/File change was detected
EC = 0, no error, Dir/File change was NOT detected
EC = 2, Invalid Dir/file
EC = 201, Other unknown error (check log)

File Monitor

EC = -100, no error, Dir/File change was detected
EC = 0, no error, Dir/File change was NOT detected
EC = 3, Invalid Dir/file
EC = 1, Other unknown error (check log)
EC = 100, Invalid task data format

Dir Monitor

EC = -100, no error, Dir/File change was detected
EC = 0, no error, Dir/File change was NOT detected
EC = 2, Invalid Dir/file
EC = 201, Other unknown error (check log)

Variable Monitor

EC = -100, no error, Variable comparison criteria was met
EC = 0, no error, Variable comparison criteria was NOT met
EC = 2, Variable Name was not found in the users variables file (..Automize/userVariables) or in default java system variables.
EC = 201, Other unknown error (check log)

Chain

Task EC = 102, Task wait time exceeded
Chain EC = step at which failed, Chain failed
Chain EC = 100, Invalid task data format
Chain EC = 101, Task not found in Task Table

Ftp Monitor

EC = -100, no error, file changes were detected
EC = 0, no error, no file changes were detected
EC = 1, Error detected, see output log for details
EC = 2, Failed to connect to server
EC = 3, Invalid user/password
EC = 4, Invalid remote directory
EC = 100, Invalid task data format

Ftp Command

EC = 0, no error
EC = 1, see output log for details
EC = 4, invalid custom command
EC = 100, Invalid task data format

Zip File

EC = 1, File copy failed, no other information, check logs
EC = 2, Invalid target directory for zip file
EC = 3, Invalid source directory
EC = 100, Invalid task data format