0: Unknown state of the task.
1: The task is new, but not assigned or run by any party.
2: The task has been acquired by an instance that wants to execute the task, but has not been started.
3: The task is executing.
4: Executing the task has completed successfully.
5: Executing the task has halted and the task failed.
99999: Special type.