adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / JobEvent Enumeration


In This Topic
    JobEvent Enumeration
    In This Topic
    Specifies the event that triggers a response.
    Syntax
    'Declaration
     
    
    <ComVisibleAttribute(True)>
    <GuidAttribute("F06BD0DE-85CE-42F8-9245-8D4F24F324B5")>
    Public Enum JobEvent 
       Inherits System.Enum
    [ComVisible(true)]
    [Guid("F06BD0DE-85CE-42F8-9245-8D4F24F324B5")]
    public enum JobEvent : System.Enum 
    [ComVisible(true)]
    [Guid("F06BD0DE-85CE-42F8-9245-8D4F24F324B5")]
    public enum class JobEvent : public System.Enum 
    Members
    MemberValueDescription
    Abandoned19 Reserved for future use.
    Aborted1 Occurs when the job is aborted by a user.
    ConditionsFailed17 One or more condition for the job or step failed.
    ConditionWaitThreshold39 Job or step has been waiting for conditions to be met for longer than the specified time.
    Custom26 A custom response (the customEventID must be specified)
    EmailFetchTaskMessageCount31 E-mail fetch task selected message count matches rules specified in exitCodeMax, exitCodeMin.
    EmailFetchTaskNoMessagesSelected30 E-mail fetch task did not select any messages
    EmailFetchTaskSomeMessagesSelected29 E-mail fetch task selected one or more messages
    FileOperationFileCount34 Number of files affected by file operation matches rules specified in exitCodeMax, exitCodeMin.
    FileOperationNoFilesAffected36 File operation did not affect any files
    FileOperationSomeFilesAffected35 File operation affected one or more files
    JobEnded4 Occurs when the job ends (regardless of its outcome).
    JobFailed21 The job failed (one or more steps failed, or a condition failed, or an internal error occurred).
    JobMissed28 Occurs when a scheduled execution is missed because adTempus was not running at the time.
    JobQueued37 Job is queued for execution but cannot be executed immediately
    JobRunning32 Occurs when initialization is complete, all conditions have been met, and step execution is beginning.
    JobSkipped2 Occurs when the job is skipped.
    JobStarted3 Occurs when the job starts.
    JobSucceeded20 The job succeeded.
    JobThreshold41 Job exceeds a time threshold
    OnAbort24 Reserved for future use.
    OnDemand40 Invoked by a script or other mechanism.
    OnKill25 Occurs when the maximum run time for a task has been exceeded, before adTempus attempts to kill the target process or script.
    QueueTimeThreshold38 Job has been queued for longer than the specified time.
    Restarted15 The job or step was restarted due to a Response.
    RestartLimitExceeded16 The restart limit for the job or step has been exceeded.
    ServiceFailed18 The monitored service failed or was stopped outside of adTempus.
    StepEnded6 Occurs when the step ends (regardless of its outcome).
    StepFailed7 Occurs when the step fails (jeTaskExecutionFailed or jeTaskFailed is also fired).
    StepSkipped23 The step was skipped.
    StepStarted5 Occurs when the step starts.
    StepThreshold42 Step exceeds a time threshold
    TaskCompletedWithExitCode13 The task returned an exit code that meets the specified criteria.
    TaskCompletedWithResult22 The task completed with a result that matches the specified target result.
    TaskExecutionFailed8 The task could not be executed. For example, for a program execution task, the target program could not be started.
    TaskFailed11 The task ran but returned a failure result. For example, for a program execution task, the target program returned an exit code that indicates failure.
    TaskFinished10 The task finished. For example, for a program execution task, the target program ended (regardless of the result).
    TaskKilled14 The task was killed because it exceeded its allowed run time.
    TaskStarted9 The task started. For example, for a program execution task, the target program was successfully started.
    TaskSucceeded12 The task ran and returned a successful result. For example, for a program execution task, the target program returned an exit code that indicates success.
    TriggerFailed33 An error occurred while evaluating a trigger
    Undefined0 Undefined/Unknown.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             ArcanaDevelopment.adTempus.Shared.JobEvent

    See Also