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 Program 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 program 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, either because conditions were not met (if the Skip... option is selected on the Conditions page) or because the target process is already running (and the Skip this step... option is selected on the General page). |
Task completed with an exit code that meets these criteria |
Occurs when the target program finishes and returns a result that matches the criteria you specify. |
Task could not be executed |
Occurs if the target program could not be executed (for example, if the program 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 program finishes and, based on the Success Criteria on the Advanced page, is determined to have failed. |
Task returned successful result |
Occurs when the target program finishes and, based on the Success Criteria on the Advanced page, is determined to have succeeded. |
Task started |
Occurs once the target program has been successfully started. Does not occur until after adTempus has waited as directed in the Startup Determination options on the Advanced page. |
Task will be terminated because it exceeded its allowed execution time |
Occurs once the time limit specified on the Advanced 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 process. |
Task was terminated because it exceeded its allowed execution time |
Occurs once the time limit specified on the Advanced page has elapsed, after adTempus has terminated the process. |
Program Execution Task Properties
Program Execution Task Overview