adTempus API
PreviousUpNext
JobEventEnum Enumeration

Specifies the event that triggers a response.

C++
enum JobEventEnum {
  jeUndefined = 0,
  jeAborted = 1,
  jeJobSkipped = 2,
  jeJobStarted = 3,
  jeJobEnded = 4,
  jeStepStarted = 5,
  jeStepEnded = 6,
  jeStepFailed = 7,
  jeTaskExecutionFailed = 8,
  jeTaskStarted = 9,
  jeTaskFinished = 10,
  jeTaskFailed = 11,
  jeTaskSucceeded = 12,
  jeTaskCompletedWithExitCode = 13,
  jeTaskKilled = 14,
  jeRestarted = 15,
  jeRestartLimitExceeded = 16,
  jeConditionsFailed = 17,
  jeServiceFailed = 18,
  jeAbandoned = 19,
  jeJobSucceeded = 20,
  jeJobFailed = 21,
  jeTaskCompletedWithResult = 22,
  jeStepSkipped = 23,
  jeOnAbort = 24,
  jeOnKill = 25,
  jeCustom = 26,
  jeThreshold = 27,
  jeJobMissed = 28
};
C#
public enum JobEventEnum {
  jeUndefined = 0,
  jeAborted = 1,
  jeJobSkipped = 2,
  jeJobStarted = 3,
  jeJobEnded = 4,
  jeStepStarted = 5,
  jeStepEnded = 6,
  jeStepFailed = 7,
  jeTaskExecutionFailed = 8,
  jeTaskStarted = 9,
  jeTaskFinished = 10,
  jeTaskFailed = 11,
  jeTaskSucceeded = 12,
  jeTaskCompletedWithExitCode = 13,
  jeTaskKilled = 14,
  jeRestarted = 15,
  jeRestartLimitExceeded = 16,
  jeConditionsFailed = 17,
  jeServiceFailed = 18,
  jeAbandoned = 19,
  jeJobSucceeded = 20,
  jeJobFailed = 21,
  jeTaskCompletedWithResult = 22,
  jeStepSkipped = 23,
  jeOnAbort = 24,
  jeOnKill = 25,
  jeCustom = 26,
  jeThreshold = 27,
  jeJobMissed = 28
}
Visual Basic
Public Enum JobEventEnum
  jeUndefined = 0
  jeAborted = 1
  jeJobSkipped = 2
  jeJobStarted = 3
  jeJobEnded = 4
  jeStepStarted = 5
  jeStepEnded = 6
  jeStepFailed = 7
  jeTaskExecutionFailed = 8
  jeTaskStarted = 9
  jeTaskFinished = 10
  jeTaskFailed = 11
  jeTaskSucceeded = 12
  jeTaskCompletedWithExitCode = 13
  jeTaskKilled = 14
  jeRestarted = 15
  jeRestartLimitExceeded = 16
  jeConditionsFailed = 17
  jeServiceFailed = 18
  jeAbandoned = 19
  jeJobSucceeded = 20
  jeJobFailed = 21
  jeTaskCompletedWithResult = 22
  jeStepSkipped = 23
  jeOnAbort = 24
  jeOnKill = 25
  jeCustom = 26
  jeThreshold = 27
  jeJobMissed = 28
End Enum
Members
Members 
Description 
jeUndefined = 0 
Undefined/Unknown. 
jeAborted = 1 
Occurs when the job is aborted by a user. 
jeJobSkipped = 2 
Occurs when the job is skipped. 
jeJobStarted = 3 
Occurs when the job starts. 
jeJobEnded = 4 
Occurs when the job ends (regardless of its outcome). 
jeStepStarted = 5 
Occurs when the step starts. 
jeStepEnded = 6 
Occurs when the step ends (regardless of its outcome). 
jeStepFailed = 7 
Occurs when the step fails (jeTaskExecutionFailed or jeTaskFailed is also fired). 
jeTaskExecutionFailed = 8 
The task could not be executed. 
jeTaskStarted = 9 
The task started. 
jeTaskFinished = 10 
The task finished. 
jeTaskFailed = 11 
The task ran but returned a failure result. 
jeTaskSucceeded = 12 
The task ran and returned a successful result. 
jeTaskCompletedWithExitCode = 13 
The task returned an exit code that meets the specified criteria. 
jeTaskKilled = 14 
The task was killed because it exceeded its allowed run time. 
jeRestarted = 15 
The job or step was restarted due to a Response
jeRestartLimitExceeded = 16 
The restart limit for the job or step has been exceeded. 
jeConditionsFailed = 17 
One or more condition for the job or step failed. 
jeServiceFailed = 18 
The monitored service failed or was stopped outside of adTempus. 
jeAbandoned = 19 
Reserved for future use. 
jeJobSucceeded = 20 
The job succeeded. 
jeJobFailed = 21 
The job failed (one or more steps failed, or a condition failed, or an internal error occurred). 
jeTaskCompletedWithResult = 22 
The task completed with a result that matches the specified target result. 
jeStepSkipped = 23 
The step was skipped. 
jeOnAbort = 24 
Reserved for future use. 
jeOnKill = 25 
Occurs when the maximum run time for a task has been exceeded, before adTempus attempts to kill the target process or script. 
jeCustom = 26 
A custom response (the customEventID must be specified) 
jeThreshold = 27 
Occurs when a time threshold is exceeded for the step. 
jeJobMissed = 28 
Occurs when a scheduled execution is missed because adTempus was not running at the time. 
adTempus API Reference version 3.0.0.0, revised 10/30/2008