Table of Contents

Enum JobState

Namespace
ArcanaDevelopment.adTempus.Shared
Assembly
ArcanaDevelopment.adTempus.Shared.dll

Indicates the status of a job, job step, or instance.

[ComVisible(true)]
[Guid("2DB0B317-F09E-473B-8C16-43ACF7CA077C")]
public enum JobState

Fields

Abandoned = 2

The job or step was abandoned (because adTempus shut down while job was executing).

Aborted = 327681

The job or step was aborted by a user or JobControlTask.

Aborting = 537198593

The job or step is being aborted.

AgentDispatched = 536870918

The job has been sent to the agent and is waiting for the agent to start it.

AgentQueued = 536870917

The job is waiting to be sent to an agent.

CompletedWithErrors = -2147483646

The job completed with errors

CompletedWithWarnings = -2147483645

The job completed with warnings

ConditionFailed = 1073872897

The job or step failed because a condition failed.

ConditionNotMet = 5

One or more conditions was not met.

ExecutionFailed = 1074003969

The step failed the task could not be executed (e.g., a program could not be executed).

Failed = 1073741825

The job or step failed.

Killed = 1073741826

The step was killed because it exceeded its maximum run time.

Killing = 536870915

The step is in the process of killing its process because it has exceeded its run time.

Missed = 7

The last scheduled execution was missed.

NotRun = 1

The step was not run.

Queued = 536870916

The job is queued, waiting for an execution slot.

ResourceFailed = 1073938433

The job or step failed because a resource failed.

Resubmitted = 6

The job or step was resubmitted.

Running = 536870914

The job or step is running.

Skipped = 4

The job or step was skipped.

Starting = 536870913

The job or step is starting.

Succeeded = -2147483647

The job or step completed successfully.

TriggerFailed = 1073807361

The trigger could not be evaluated.

Unknown = 0

Status unknown, or has never been run.

WaitingForCondition = 805437441

The job or step is waiting for one or more conditions to be satisfied.

[RequiredVersion(5, 0, 0, 0)] WaitingForDelay = 805634049

The job is waiting for a delay interval to elapse

[RequiredVersion(5, 0, 0, 0)] WaitingForExclusionPeriod = 805699585

The job is waiting for an Exclusion Period to end

WaitingForPreviousInstance = 805568513

The job is waiting for a previous instance to finish.

WaitingForResource = 805502977

The job or step is waiting for one or more resources to be available.

WaitingForRestart = 806617089

A restart is pending.

WaitingForTrigger = 268500993

The job is waiting for a trigger.

Extension Methods