(Quick Reference)
Order Status Codes
Orders pass through a number of states during their processing life. An order is
created as
NEW and advances to
VALID when all items have been checked and
sized and if the total order size (sum of the item sizes) is below the system
processing limit. The order then progresses to
PROCESSING during data
retrieval on the items. Once all items are retrieved the order goes to the
PACKAGED state. The end user is
NOTIFIED. If the user picks up the data,
it is set to
PICKED UP. After notified or pick up waiting periods have passed,
the order removed from disk and marked as
CLEANED.
| Name | Description |
|---|
| NEW | A new order waiting for processing. |
| VALID | Items have been checked and sized. Total order size is OK. |
| PROCESSING | One or more Items for this order are being retrieved. |
| PACKING | All items for this order are COMPLETE, CANCELLED or ERROR. |
| ERROR | This order has an error. |
| CANCELLED | This order has been cancelled. (Not implemented yet.) |
| PACKAGED | This order is ready for delivery. |
| NOTIFIED | The user has been sent an email with a pick-up link on success, otherwise, an error message email was sent. |
| PICKED UP | The user has used the pick-up link to download this order. |
| CLEANED | Either the PICKED UP or NOTIFIED time windows have expired, and the order has been deleted to recover disk space. |
An order can also be set to
ERROR if there is a problem during retrieval or
set to
CANCELLED if the user cancels the order. Except for the special cases
of
CANCELLED and
ERROR, an order will normally pass through all the states
from
NEW to
CLEANED.
An order is advanced to the finished (
CLEANED) state if it's status is
PICKED UP and a download time window has passed (typically 1 day, configurable),
NOTIFIED and the notification time window to access the data (typically 3 days, configurable) has passed since the notification email date,
ERROR,
CANCELLED. (Not implemented yet.)