Which Task Status are possible?

The current status of a task is either DELAYEDWAITING or one of six final states (SUCCESSFULREPLACEDCANCELEDFAILEDERROR, or TIMEOUT). The figure below shows all valid state transitions. If a task has reached a final state it cannot be changed any more.