History
As a user I need to control the state of order. I expect that orders might have the following states:
for process without any interference:
- pending: all new orders waiting for acceptance
- accepted: orders for which anybody accepted for running, and are waiting for start
- in progress: orders started but still running
- completed: production finished, order is closed for change
if any interference occurs:
- declined: user can decide to decline for any reason before starting order
- interrupted: user can decide about temporary interruption after starting and before finishing of order (is possible to restart order)
- abandoned: user can decide about irreversible abandonment of order after starting
Action & flow
Logging
Each state changing should be logged with informations who and when the action executed