State

State

In addition to the parameters detailed for each endpoint in this section, tasks also have a special property state to help you understand the task's most recent status. The following integer values are valid task states:

Value

Description

0

Unassigned: task has not yet been assigned to a worker.

1

Assigned: task has been assigned to a worker.

2

Active: task has been started by its assigned worker.

3

Completed: task has been completed by its assigned worker. Includes both successful and failed completions.

A Task's state cannot be modified explicitly with the exception of Complete task