Deviation management plays an increasingly important role in the collection and review of KPIs (Key Performance Indicators) for pharmaceutical production and quality processes. Tracking the cause of deviations in particular provides information on how stable the respective processes are, where there are gaps and where countermeasures need to be taken with corrective and preventive actions (CAPAs).