← All tasks

State machine · task #74

Myfirsttask

Current place new

Processes a task, retrying it after temporary errors until it completes or fails permanently.

Diagram
Transitions
start_process
new → processing
Starts processing a new task.
retry
backlogged → processing
Retries a backlogged task.
temp_error
processing → backlogged
Puts the task in the backlog after a temporary error, to retry it later.
permanent_error
processing → failed
Marks the task as failed after an error that a retry cannot fix.
complete_without_error
processing → completed
Marks the task as completed once it has been processed without error.
Marking

new The task is newly created and not yet processed.

Stored in App\Entity\Task::$marking as the enum case TaskStep::New.