Status
The state of a task or object during processing. Used to understand what has been done, what is in progress, and what has failed.
Typical statuses
pending → in_progress → done
↘ error
Why in automation
- idempotence — avoid reprocessing what has already been done;
- resumption — continue from where the failure occurred;
- report — how much is done, how much is left.