Skip to content

Inspection states

Every inspection in MaxTrax moves through a fixed set of states, and only certain moves between them are allowed. This page is the authoritative list: each state, what it means, and the results you can record from it. Recording a result is covered in Record an inspection result; this page is the state machine behind it.

An inspection starts in Unreviewed and moves toward a final outcome. The states below are the complete set, with the exact moves allowed from each.

State diagram of inspection states: a created inspection starts Unreviewed and can move to Passed, Failed, Pending, or Negated; Pending can move to Passed, Failed, or Negated; Failed can move to Reworked or Negated; Reworked can move to Passed or Failed; Passed and Negated are terminal. State diagram of inspection states: a created inspection starts Unreviewed and can move to Passed, Failed, Pending, or Negated; Pending can move to Passed, Failed, or Negated; Failed can move to Reworked or Negated; Reworked can move to Passed or Failed; Passed and Negated are terminal.

The table is the authoritative reference behind the diagram.

State Meaning Allowed next states
Unreviewed Created and awaiting review — the state every inspection starts in. Passed, Failed, Pending, Negated
Pending Awaiting film or review before a pass or fail can be recorded. Passed, Failed, Negated
Passed The inspection passed. Final. None — terminal
Failed The inspection failed. It can be re-inspected or withdrawn. Reworked, Negated
Reworked Re-shot or re-inspected after a failure, awaiting the re-inspection outcome. Passed, Failed
Negated Withdrawn — excluded from the weld’s accept/reject aggregation. Final. None — terminal

Passed and Negated are terminal: once an inspection reaches either, no further result can be recorded against it. Any move that isn’t in the table above is rejected — including a no-op move to the same state, and any attempt to move out of a terminal state.

When an inspection reaches a final outcome, MaxTrax re-checks the weld across all of its active inspections (withdrawn — Negated — inspections are left out of this check):

  • If every active inspection has Passed and there is at least one, the weld becomes Accepted.
  • If any active inspection is Failed, the weld becomes Rejected.
  • Otherwise the weld’s status is unchanged.

The weld only moves if that change is a legal step for it — a weld already in a final status isn’t reopened by a later inspection result.