JobState enumeration

The Project Service queue job state specifies the status of a queue job.

Syntax

CSOM

enum JobState 

JSOM

PS.JobState

REST Interface

JobState enumeration is not expliclity defined in REST. Use the values below to understand what can be returned and set.

Members

Name Value Description
Unknown 0 The queue job is unknown.
ReadyForProcessing 1 The queue job is ready for processing.
SendIncomplete 2 The message sent to the queue is incomplete.
Processing 3 The queue job is processing.
Success 4 The queue job completed successfully.
Failed 5 The queue job failed. Unfinished jobs with the same correlation are blocked.
FailedNotBlocking 6 The queue job failed. Unfinished jobs with the same correlation are not blocked.
ProcessingDeferred 7 The queue job processing is deferred.
CorrelationBlocked 8 The queue job correlation is blocked; the job is not processed.
Canceled 9 The queue job is canceled.
OnHold 10 The queue job is on hold.
Sleeping 11 The queue job is sleeping.
ReadyForLaunch 12 The queue job is ready for launch.
LastState 13 This is the last state of the queue job (internal use only).

See Also

QueueJob