The Responses page defines the actions that adTempus should take in response to events that are fired during execution of the step.
Responses List
The Responses list lists the responses that have been specified for the step. You can add, edit, delete, or reorder responses. See the Responses topic for more information on the available responses.
The following events are defined for the Script Execution task:
Event |
Description |
Beginning of step |
Occurs at the beginning of the step, before adTempus has evaluated any conditions or attempted to execute the task. |
Condition(s) failed |
Occurs if one or more conditions is not met (occurs only once regardless of how many conditions failed). |
End of step |
Occurs at the end of the step, regardless of the step's outcome. |
Execution of task finished |
Occurs when the target script finishes executing, regardless of the result. |
Restart limit exceeded |
Occurs when the step is being restarted by a Job Control action but the restart limit specified on that action has been exceeded. |
Step failed |
Occurs when the step's status is being set to Failed, for whatever reason. |
Step is being restarted |
Occurs when the step is being restarted by a Job Control action. |
Step skipped |
Occurs when the step is skipped because conditions were not met (if the Skip... option is selected on the Conditions page). |
Task completed with an exit code that meets these criteria |
Occurs when the target script finishes and returns a result that matches the criteria you specify. |
Task could not be executed |
Occurs if the target script could not be executed (for example, if the script does not exist, or the user account used for the job does not have the necessary permission). |
Task executed but returned failure result |
Occurs when the target script finishes and, based on the Success Criteria on the Options page, is determined to have failed. |
Task returned successful result |
Occurs when the target script finishes and, based on the Success Criteria on the Options page, is determined to have succeeded. |
Task started |
Occurs once the target script has been successfully started. |
Task will be terminated because it exceeded its allowed execution time |
Occurs once the time limit specified on the Script page has elapsed, but before adTempus attempts to terminate the process. Respond to this event if you want to use your own script or other approach to end the script. |
Task was terminated because it exceeded its allowed execution time |
Occurs once the time limit specified on the Script page has elapsed, after adTempus has terminated the process. |
Script returns a result that meets these criteria |
Occurs when the script returns a result that matches (exactly) the string you specify. |
Script Execution Task Properties
Script Execution Task Overview