Rela AIRela AI Docs
Food Safety

Corrective Actions

Document corrective actions for HACCP deviations and cold chain excursions

Corrective Actions

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

On this page