Skip to content

Deviation Management

Deviation Management provides a centralized system for documenting, tracking, and resolving any departure from approved procedures, specifications, or standards. The module enforces SLA-based deadlines, supports AI-powered classification, and integrates directly with CAPA to drive corrective and preventive actions.

Demo: Deviations and CAPA (open the video file)
  1. On the left sidebar, select Deviations.
  2. Select Report deviation.
  3. Fill in the deviation form: title, description, severity, linked SOP, and detection date. In Product, lot and batch, optionally enter the product, lot number and batch number the deviation affected (see Record the product, lot and batch). The title and description must contain text; a deviation with a blank title or description is refused, whether it is reported here, raised from a validation package or brought in by data import.
  4. Submit the form.

A deviation can name the product, the lot and the batch it affected, so that every deviation on one lot can be found later. All three are optional text (product up to 200 characters, lot and batch up to 100) and cannot contain HTML or script markup.

  • On the report form, fill in Product, Lot number and Batch number in the Product, lot and batch section.
  • On the deviation page, the Details section shows the three values, or Not recorded. The person who reported the deviation, and users who can update deviations, select Edit product, lot and batch, change the values and select Save, for example to correct a mistyped lot number. Every change is in the audit trail with the old and new value. Once the deviation is approved, closed or discarded the values can no longer change, and the page says why in place of the button; a closed deviation must be reopened first.
  • In the register, the table has Product, Lot number and Batch number columns. The search box also matches them, and the Filters panel has a text filter for each (it matches any part of the value and ignores case).
  • In exports, the CSV, Excel and PDF files include the three columns and keep the filters you set, including the three above.
  • In data import, the deviation template offers Product, Lot number and Batch number; each row is checked like the form.

Impact is not a separate field. Describe it in the description, set the severity, and record the root cause and any CAPA on the deviation. If your workspace wants a customer-impact question, add it as a custom field in the deviation form template.

A workspace administrator can make a lot number or a batch number (at least one of the two) mandatory for chosen severities. In Workspace settings, open Form builder, choose Deviation, and in Lot and batch rule tick the severities, then select Save rule. A deviation of a ticked severity cannot be reported, imported or edited without one of the two, and the message says so. Leave every box unticked to keep both optional.

  1. On the left sidebar, select Deviations.
  2. Select Report deviation.
  3. In the Form template section at the top of the form, your workspace’s default deviation template is already selected. Choose a different template, or clear the selection to report on the basic form.
  4. Complete the form and submit. Fields the template shares with the basic form appear once, not twice.

The register uses a filter panel rather than a row of separate controls, and every filter you apply appears as a chip above the table so you can always see what is being excluded.

  1. On the left sidebar, select Deviations.

  2. Select Filters. The panel opens with these filters:

    Filter Values
    Status Open, Under Review, Pending Approval, Approved, Rejected, Closed (several can be ticked at once)
    Severity The severities configured for your workspace
    Overdue Overdue only – deviations past their due date that are not yet closed
    Source QMS or Validation – see below
    Reported A date range, matched against the date the deviation was reported
    Product, Lot number, Batch number Text; matches any part of the recorded value, ignoring case
  3. Choose a value. The table updates immediately – there is no Apply step.

    For Reported, choose a preset such as Last 30 days, or Custom… to type the dates. Type a date as 2026-08-14 or in your usual short form (14/08/2026 where the day comes first, 08/14/2026 where the month does). Presets and typed dates use your own calendar day. Editing one end of a range keeps the other, and an entry that is not a date stays on screen with a message instead of being applied.

  4. To remove one filter, select the x on its chip. To remove all of them, select Clear all.

Filters combine, and they are carried in the page address – so a link to a filtered register opens the same filtered register for a colleague.

A deviation raised directly in this register has Source: QMS. A deviation raised from a failed test during a validation package run has Source: Validation and carries a small “Validation” badge next to its number in the table. Both go through the exact same approval workflow and electronic-signature requirements – there is no separate lifecycle for a validation-sourced deviation. A validation-sourced row that predates this unification shows its original identifier as a legacy reference, unchanged.

The table shows 25 deviations per page. When your filters match more than that, use the pagination controls below the table to move between pages; the count above the table always reflects the total number of matching deviations, not just the ones on the current page. Select the Number, Title, Status or Due by column header to sort the whole register by that column, and select it again to reverse the direction. The sort covers every deviation that matches your filters, not only the page on screen, and the sort is kept in the page address. With no column selected, the newest deviations are listed first.

If you find yourself setting the same search text and filters every time you open the register, save them as a named view instead of rebuilding them.

  1. On the left sidebar, select Deviations.
  2. Set the search text and filters you want to save (for example, Status: Open and Overdue only).
  3. Select Views in the toolbar, then select Save current view….
  4. Enter a name (for example, “My open criticals”) and select Save.

To reapply a saved view, select Views and choose it from the list – the search text and every filter it was saved with are restored together. To remove one you no longer need, select the trash icon next to it in the list.

Saved views work the same way on every register – documents, change control, audits, equipment, training, CAPA, suppliers, and complaints – not only Deviations.

  1. On the left sidebar, select Deviations.
  2. Above the table, review the Deviation SLA Status panel.

It shows three counts across every deviation that is still open or under review. A deviation discarded as raised in error is never counted:

Count Meaning
Overdue Past its due date
Due in 24h Due within the next 24 hours
On track Due more than 24 hours from now

Select the Overdue count to apply the Overdue only filter to the table beneath it, and select it again to clear it. Due in 24h and On track are counts only – they are not selectable.

  1. On the left sidebar, select Deviations.
  2. Select the deviation’s row in the table. The whole row is the link – there is no separate View button.

The detail page is organized into sections along a tab bar (which scrolls sideways when it overflows on narrow screens):

  • Details – Deviation metadata including title, description, severity, status, reported-by user, linked document/SOP, and detection and reporting dates.
  • Root cause – The root cause analysis panel, including AI-generated 5 Whys and Fishbone analyses.
  • Corrective actions – The actions recorded against the deviation.
  • Attachments – Files uploaded to the deviation (evidence photos, scanned records), each downloadable.
  • Linked records – The linked CAPA (or the Create CAPA action when none is linked yet), the primary document, and the Linked Documents panel. If you cannot link a document (your role, or a closed deviation), the section says so.
  • Comments – A collaborative thread for discussion, investigation findings, and resolution coordination. Only the person who reported the deviation and roles that may edit deviations can add comments. For everyone else the comment box is replaced by a note saying why, and the same applies to the Resolution field.
  • History – The full audit trail with creation, status changes, approvals, and rejections displayed chronologically.

The deviation detail page shows the next step for the deviation’s current status as a button, with the other allowed moves beside it: Start investigation, Send for approval, Approve & sign, Reject deviation, Close deviation and Reopen. When a step is not available, the button is greyed out and says why. You can add a resolution description when you change the status.

Send for approval is available once the deviation has a Resolution and a Root cause. For a high or critical deviation it also needs a linked CAPA, or a written justification that no CAPA is needed. If something is missing, the button is greyed out and lists what is missing; the same list appears if the request is refused. Fill in the details under Resolution, select Save closure details, and send the deviation again.

Once the deviation is approved, the resolution, root cause and justification you wrote are fixed, because they are what the approver signed. To change them, reject or send the deviation back to review before it is approved.

A deviation is approved only with Approve & sign, once it is Pending Approval. You confirm the approval with your electronic signature: select Get Verification Code and enter the 6-digit code sent to your email. This is a regulatory requirement under 21 CFR Part 11. The approval also checks the same list as Send for approval: if the resolution, the root cause or, for a high or critical deviation, the linked CAPA or justification is missing, Approve & sign is greyed out and names what is missing. Fill in the details under Resolution, select Save closure details, then approve.

Approval is not available anywhere else. A status change to Approved made any other way (a status update through the API, a bulk status update, the validation package’s deviation form, or a data import) is refused with a message that points to the approve action. An “approve” signature recorded directly through the signatures API is refused the same way, so no deviation carries an approval signature that Approve & sign did not give.

An approved deviation cannot be approved a second time in place. To revise it, close it, select Reopen, take it back through investigation and Send for approval, and approve it again with Approve & sign. The new approval signature replaces the earlier one, which stays in the audit trail marked as superseded.

An approved deviation is closed with Close deviation. Like approval, closing is confirmed with your electronic signature: select Get Verification Code and enter the 6-digit code sent to your email. The signature names you, the record and the time, and it is recorded in the history. A QA reviewer or administrator closes the deviation, and it cannot be the person who reported it. Closing several deviations at once is not available: each closure is signed on its own record. A deviation raised from the Validation Package page is closed the same way: its Close in register link opens the deviation, where you sign the closure.

If you reopen a closed deviation and close it again later, the new closing signature replaces the earlier one, which stays in the history marked as superseded.

An administrator can discard a single deviation from its own page, for example one that was reported twice.

  1. Open the deviation.
  2. Select the More actions menu (⋯) in the record header, then Discard. When the deviation cannot be discarded, the entry is greyed out and says why.
  3. Enter a reason for discarding (required) and select Discard deviation.

Only open deviations that have not entered review, carry no active electronic signature, and that no other record cites (a CAPA raised against it, a complaint linked to it, a SCAR naming it, or a training assignment raised from it) can be discarded. Discarding is not a permanent delete: the deviation stays in the system with its history, comments, attachments and audit trail, marked Discarded with your name, the time and your reason, and a “discard” entry is written to its audit trail. It drops out of the register, out of every dashboard and analytics total, and off the dashboard’s upcoming deadlines and the calendar; filter by the status discarded to find it again.

A discarded deviation is read-only. Its status, comments, actions, attachments, linked documents and root cause analysis can no longer be changed, and no signature can be requested or recorded against it. Any such change is refused with the message “This deviation has been discarded and is read-only.” A discarded deviation also cannot be linked to a new CAPA, complaint, SCAR, training assignment or validation test execution.

Signature requests still waiting on the deviation when it is discarded are cancelled at the same time, so they leave the recipients’ task lists; the request page shows Cancelled — the record was discarded.

The Discard entry appears only for administrators.

Bulk-update or discard several deviations at once

Section titled “Bulk-update or discard several deviations at once”
  1. On the left sidebar, select Deviations.
  2. Select the checkbox on each row you want to act on, or the header checkbox to select every row currently loaded.
  3. A bulk actions panel appears above the table showing how many rows are selected.
  4. Select Update Status to enter a new status for every selected deviation (any status except Approved, which is given one deviation at a time with Approve & sign), or Discard Selected to take deviations raised in error out of the register. A deviation that has been Open for more than 24 hours with no delay reason keeps its status and is listed as failed with its number and the reason; enter the reason on its page first (see Submit a delay reason). Discarding asks for a reason and is not a permanent delete: each deviation stays in the system with its history and audit trail, marked Discarded with your name, the time and your reason. Only open deviations that have not entered review, and that no other record cites (a CAPA, complaint, SCAR or training assignment), can be discarded; any other deviation is left unchanged and listed with the reason. Filter the register by the status discarded to find discarded deviations. See Bulk operations for the rules for every record type.
  5. The panel reports how many records were changed and lists any per-row refusals with their reasons, then clears the selection.
  1. On the deviation detail page, select Create CAPA.
  2. The system creates a new CAPA record linked to the deviation.
  3. On the left sidebar, select CAPA to define corrective and preventive actions on the new record.

Files can be attached to a deviation when reporting it, or added afterward from the detail page’s Attachments tab.

  1. On the deviation detail page, select the Attachments tab.
  2. If you can upload to this record, a drop zone appears above the file list – select it to choose a file, or drag one onto it. Accepted formats are PDF, Word (.doc/.docx), plain text, and Excel (.xls/.xlsx).
  3. To download an existing file, select it in the list.

Each entry shows who uploaded the file and when. There is no separate preview – selecting a file downloads it with its original filename.

A deviation often references controlled documents — the SOP that was departed from, a batch record, or a specification. You can attach those links after the deviation is raised, not only at the moment it is created.

  1. On the deviation detail page, open the Linked records section and find the Linked Documents panel. The panel is there even when the deviation has no CAPA and no primary document yet, and the section’s count includes every linked document.
  2. Select Link document and choose a document from your workspace.
  3. The link appears in the panel and is recorded in the deviation’s audit trail.

Each linked document is a live link – selecting its title or number opens that document’s own detail page.

To remove a link, select Unlink next to the document. Unlinking is also audit-trailed — the record of the link having existed is preserved.

  1. On the left sidebar, select Deviations.
  2. In the filter bar, select Export.
  3. Choose the export format and optional status filter.
Level Description
Low Minor deviation with negligible impact on product quality or patient safety.
Medium Moderate deviation requiring investigation but no immediate product risk.
High Significant deviation with potential impact on product quality.
Critical Severe deviation requiring immediate attention and escalation.
Permission Description
deviations.read View deviations and the deviation list.
deviations.approve Update deviation status, approve, or reject deviations.
deviations.update Edit any deviation’s supporting details (attachments, linked documents, linked CAPAs, custom form fields) – not only your own.
capa.create Create a new CAPA from a deviation.

The person who reported a deviation can always edit its supporting details themselves, as a continuation of reporting it. Editing someone else’s deviation needs deviations.update.

A corrective action’s own assignee can update and complete that action even without deviations.update – being assigned the work is what authorizes finishing it. Anyone else needs deviations.update to change an action they were not assigned.

Practical example: managing a pH excursion deviation

Section titled “Practical example: managing a pH excursion deviation”

This walkthrough shows a deviation moving through its full lifecycle in a pharmaceutical manufacturing context.

Scenario: During in-process testing of Batch #2026-0312, a QC analyst detects that the buffer solution pH is 7.8, outside the validated range of 7.2-7.4.

  1. On the left sidebar, select Deviations.
  2. Select Report deviation.
  3. Enter the following:
    • Title: pH excursion in buffer preparation – Batch #2026-0312
    • Description: During in-process pH testing of phosphate buffer solution for Batch #2026-0312, the measured pH was 7.8, exceeding the validated range of 7.2-7.4. The batch was placed on hold immediately. Affected equipment: Buffer vessel BV-04. The excursion was detected during routine IPC at 10:15 AM.
    • Severity Level: High (the AI suggestion may also recommend High based on the out-of-spec result)
    • Related SOP/Document: SOP-BUF-003 Buffer Preparation Procedure
    • Date Detected: 2026-03-07
  4. Select Report deviation.
  1. On the deviation detail page, select Update Status.
  2. Change the status to Under Review.
  3. Use the Root Cause Analysis panel to run a 5 Whys analysis.
  4. Add a comment: “Preliminary investigation indicates NaOH titrant was from a newly opened lot (Lot #T-4421). Requesting COA from vendor.”
  1. After confirming the root cause, select Create CAPA on the deviation detail page.
  2. Define corrective actions (for example, retest the NaOH titrant lot, retrain operators on titrant verification).
  3. Define preventive actions (for example, add incoming titrant verification step to SOP-BUF-003).
  1. Once the CAPA actions are completed and the effectiveness review is approved, return to the deviation detail page.
  2. Select Send for approval to move it to Pending Approval.
  3. A QA manager who did not report the deviation reviews the full record and selects Approve & sign, providing an electronic signature.

The deviation now has a complete audit trail from detection through resolution, linked to its CAPA record.