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
- On the active CCP or excursion card, click Record Corrective Action
- 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)
- 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
| Option | Description |
|---|---|
hold | Hold the product for further evaluation |
rework | Reprocess the product (e.g., cook again) |
destroy | Destroy the product — not fit for consumption |
release | Release — 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:
- An automatic task is created and assigned to the CCP responsible person
- A notification is sent via WhatsApp and email
- The task includes the predefined corrective action steps from the CCP
- Upon completing the task, the technician records the corrective action with product disposition
- Everything is stored in the audit trail for regulatory reports