The Options page defines additional options for the task.
Success Criteria
The Success Criteria determine whether the step is reported as Successful or Failed. Three options are available:
The script will return a numeric result code. Before it returns your script must set the global Result variable to either True (step succeeded) or False (step failed). Any other value will cause the step to be reported as Failed.
Report the step as successful unless instructed otherwise by a Response. adTempus will ignore the exit code and assume that the task was successful. You can change the status of the step using a Job Control Action.
Report the step as Failed unless instructed otherwise by a Response. adTempus will ignore the exit code and assume that the task failed. You can change the status of the step using a Job Control Action.
You can also test for any number of specific exit codes or string results and take action based on them using Responses for the step. For example, you may want to report the step as failed if the exit code is greater than 0, but send e-mail notification to an administrator if the exit code is greater than 128. |
Script Execution Task Properties
Script Execution Task Overview
Returning Results from Scripts