Rela AIRela AI Docs
Food Safety

Corrective Actions

Document corrective actions for HACCP deviations and cold chain excursions

Corrective Actions

Corrective actions are the documented response to a HACCP plan deviation. When a CCP goes out of range, Rela AI opens the corrective action automatically with product disposition, assigned owner and deadline — all traceable in the audit trail.

What is it for?

  • Turn a sanitary deviation into an actionable, assigned, deadlined step.
  • Document product disposition (hold / discard / rework / release).
  • Close the HACCP loop: detection → action → verification → immutable record.

How it works

When a CCP deviation is detected, the system opens a corrective action pre-populated with: affected asset, observed deviation, assigned technician (if smart assignment is on), deadline. The technician resolves it from WhatsApp or the dashboard, logs the product disposition, and the hash of the event + action + resolution lands in the audit trail.

When a deviation occurs in a CCP or a critical excursion in the cold chain, documenting the corrective action is required. Rela automates this workflow to comply with regulatory traceability requirements.

Record a corrective action

From the Dashboard

  1. On the active CCP or excursion card, click Record Corrective Action
  2. Complete the required fields:
    • Description: What was done to correct the deviation
    • Person who executed: Who took the action
    • Product disposition: What was done with the affected product
    • Affected batch: Batch number or production identifier
    • Root cause: Identified cause of the deviation (optional but recommended)
    • Preventive actions: Measures to avoid recurrence (optional)
  3. Click Save

From the API

POST /api/v1/haccp/corrective-actions
{
  "deviation_id": "dev_001",
  "description": "Stopped the line and recalibrated the oven temperature sensor",
  "executed_by": "person_tech01",
  "product_disposition": "rework",
  "affected_batch": "BATCH-2026-0330-A",
  "root_cause": "Sensor decalibrated by vibration",
  "preventive_actions": "Add weekly calibration inspection"
}

Product disposition options

OptionDescription
holdHold the product for further evaluation
reworkReprocess the product (e.g., cook again)
destroyDestroy the product — not fit for consumption
releaseRelease — evaluation determined the product is safe

Audit Trail

Each corrective action generates an immutable record in the audit trail with:

  • Exact date and time
  • User who recorded the action
  • Associated original deviation
  • Product disposition
  • Affected batch

This record is automatically included in HACCP compliance reports.

Automatic workflow

When an HACCP deviation exceeds the grace period:

  1. An automatic task is created and assigned to the CCP responsible person
  2. A notification is sent via WhatsApp and email
  3. The task includes the predefined corrective action steps from the CCP
  4. Upon completing the task, the technician records the corrective action with product disposition
  5. Everything is stored in the audit trail for regulatory reports

Key benefits

  • Corrective action opened automatically on every deviation — they don't get lost in emails.
  • Canonical product disposition (hold/discard/rework/release) aligned with HACCP.
  • Automatic assignment to the responsible for the affected CCP.
  • Immutable audit trail with hash — evidence acceptable for sanitary inspection.
  • Automatically included in the next Compliance Report.

On this page