What do the status values mean, and how do I change the lifecycle?
Quick answer
Section titled “Quick answer”Every asset has a status (default: Active). Via “Edit”, you set it to one of five values — Active, Inactive, Maintenance, Retired, or Disposed. In addition, date fields (Warranty Expiry, End of Life, End of Support) capture the rest of the lifecycle.
Prerequisites
Section titled “Prerequisites”The Assets module is part of the core product and available on all plans.
The status values
Section titled “The status values”API value (status) | Meaning |
|---|---|
active | Active — in operation (default when creating an asset). |
inactive | Inactive — temporarily not in use. |
maintenance | Maintenance — currently being repaired or serviced. |
retired | Retired — decommissioned but still inventoried. |
disposed | Disposed — permanently taken out of operation. |
In the web interface, these values are displayed as colored status badges using their human-readable label (e.g. Active in green, Maintenance in yellow, Disposed in red).
Instructions
Section titled “Instructions”-
Open and edit the asset. Select Assets, open the asset, and click “Edit”.
-
Choose the status. In the Status field, select the appropriate value from the list.
Screenshot pendingassets-status-01Asset form with the status dropdown openThe status is set via the dropdown in the edit form. -
Save. After saving, the new status appears as a badge in the detail view and in the asset list.
Screenshot pendingassets-status-02Asset list with colored status badges in the Status columnThe Status column in the asset list shows the status as a colored badge.
You set the status like any other field via PUT to /api/v1/assets/{id}:
curl -X PUT https://demo.notory.io/api/v1/assets/a2f1c9e4-7b3d-4a11-9c2e-8f6b1d0a7e55 \ -H "Authorization: Bearer inv_dein_token" \ -H "Content-Type: application/json" \ -d '{ "status": "maintenance" }'Filter by status (scope read) — the query parameter is called status:
curl -H "Authorization: Bearer inv_dein_token" \ "https://demo.notory.io/api/v1/assets?status=maintenance&page=1&page_size=25"Possible errors: 422 for an unknown status value (only the five
values from the table above are valid), 404 for an asset that doesn’t
belong to you or doesn’t exist.
What happens behind the scenes?
Section titled “What happens behind the scenes?”- Status is just a field: Changing it is a normal update (
PUT); it does not trigger any automatic workflows. - Audit trail:
updated_byandupdated_atare set; the change can be traced in the History. - Lifecycle data: Fill in Warranty Expiry (
warranty_expiry), End of Life (end_of_life), and End of Support (end_of_support) for expiry and replacement planning. - Reporting: The Dashboard counts, among other things, active assets and assets under maintenance; the list can be filtered by status.
- Tenant isolation: Status changes only affect assets belonging to your tenant.
Related topics
Section titled “Related topics”- Edit asset
- Search & filter assets — filtering by status
- Dashboard — metrics on status and inventory
- Reports — analytics on your inventory