Share via


TaskState Enum

Definition

The state of a task.

public enum TaskState
type TaskState = 
Public Enum TaskState
Inheritance
TaskState

Fields

Name Value Description
Active 0

The task is queued and able to run, but is not currently assigned to a compute node.

Preparing 1

The task has been assigned to a compute node, but is waiting for a required Job Preparation task to complete on the node.

Running 2

The task is running on a compute node.

Completed 3

The task is no longer eligible to run, usually because the task has finished successfully, or the task has finished unsuccessfully and has exhausted its retry limit. A task is also marked as completed if an error occurred launching the task, or when the task has been terminated.

Applies to