Within a mature Quality Management System, the manual evaluation of incoming events for recurrences or duplicates is a significant operational bottleneck. Triage teams have to manually search descriptions of existing records to determine whether prior investigations share material information with the new event, which may indicate a recurrence or duplicate. Manual evaluation processes are highly subjective and difficult to audit consistently, and gaps in these processes can lead to redundant investigations and failures to identify systemic product quality trends across disparate manufacturing sites.
Record Checks replace these processes with an automated search utility embedded directly into the record lifecycle. Automating similarity evaluations and record triaging provides the following benefits:
- Reduces operational cycle times: Bypass redundant investigations by identifying and linking to ongoing, high-quality historical investigations or corrective actions.
- Enforces compliance and traceability: Create a structured, documented, and fully auditable trail of recurrence and duplicate assessments.
- Prevents clutter: Systematically ensure duplicates are found, regardless of whether they enter Vault via manual record creation, a Vault API integration, or a Vault to Vault Connection.
This article provides information about adopting record checks for business process owners, including configuration options and best practices, testing recommendations, and related features your organization can use with Record Checks.
Types of Record Checks
You can configure the following types of record checks in Veeva QMS:
- Recurrence Check: A retroactive search executed on an active process record (such as an open Deviation or Complaint) to identify historical, completed events of a similar nature. Recurrence checks can recognize trends and patterns repeated over a defined historical timeframe (for instance, one year) and link those records together for trend-reporting.
- Duplicate Check: An active, interceptive search executed during the intake and triage phase. Duplicate checks evaluate whether an incoming record (for instance, a Complaint Intake, Supplier Change Notification, or Quality Incident) is a duplicate of an existing record before it is promoted or investigated. It enforces a strict original-duplicate relationship structure to consolidate information before closure.
Admins can configure one or both of these types of checks in your Vault.
How Record Checks Work
For details about how Vault finds similar records during a record check, see Understanding Record Checks.
Configuration Options for Record Checks
When initially adopting record checks, you must make configuration decisions that determine the behavior, results, and options available to users when running a record check. We recommend evaluating the configuration options against your business processes and requirements to determine your configuration. The following sections contain information about the available options, their business impact, and recommendations for initial configuration:
- Match on All Terms application setting: A one-way application setting that influences the behavior of record checks in your Vault.
- Quality Record Check definitions: Configuration components that define the scope and query behavior of a record check, and determine the options available to users when running a record check.
- Run Quality Record Check action: Configurable action that references a Quality Record Check definition and automates it or makes it available as a user action in a state of a supported object’s lifecycle.
See Configuring Recurrence Check, Configuring Duplicate Check, and Configuring Quality Event Suggestions for instructions on how to access and configure the components described in the sections below.
About Match on All Terms
The Enable Match on All Terms in Record Check and Record Suggestions application setting changes the way record checks work. Without this setting enabled, all record checks return matches when any of the important terms match between records. With this setting enabled, Vault returns matches only when a record contains all important terms.
Business Impact
This setting also makes a new field available to users when running a record check. Users can move suggested terms from the Match on Any of these Terms field and into the Match on All of these Terms field to alter the search scope from a wide range of potential matching records, based on a subset of the key terms, to a narrower selection of likelier matches by requiring results to exhibit all terms indicated in the record check.
Initial Recommendation
We recommend enabling this setting to allow users to execute tightly-scoped record checks when appropriate. This requires some user education: Users should be aware that leveraging this option can drastically narrow the results if a large number of Match Terms are provided, as there is a higher chance for records to contain most but not all terms. Additionally, including very specific Match Terms that all records must contain does not allow for variance in terminology between investigations.
About Quality Record Check Definitions
When creating a Quality Record Check definition, Admins must configure several options that govern a record check’s scope, query behavior, and end-user controls. Below is a summary of key options, its impact, and configuration recommendations. Many of these options also apply to Record Suggestion Configurations for the Quality Event Suggestions feature.
| Option Name | Details | Impact | Initial Recommendation |
|---|---|---|---|
| Date comparison field and timeframe | Defines the date field used as the search’s starting point, and the relative timeframe Vault searches within, for instance, one year. When executing a record check, Vault ignores hours and minutes in DateTime fields and searches from 00:00 of the start date to 23:59 of the end date in the initiating user’s timezone. |
Narrows the record check’s scope and prevents Vault from returning outdated, irrelevant records. | Consider using the record’s Date Occurred or Created Date field and a standard timeframe of one year to balance search coverage with query performance. Your organization may have additional appropriate date fields to use which may be worth discussing with your business teams. |
| Allow user to enter date range (recurrence checks only) | Allows users to modify the start and end dates of a record check. | Allows for flexibility and eliminates the need to create multiple Quality Record Check definitions to accommodate different date ranges. | Consider using this option if your business process allows for flexibility and user input. If your process requires repeatability, we recommend not selecting this option. |
| Allow user to override exact match field values (recurrence checks only) | Allows users to override configured exact match fields. | Enabling this option provides high flexibility, allowing advanced users to search across facilities or products. With this option selected, if a user deletes all values for an exact match field, Vault skips the filter entirely when searching for matching records. If the exact match field is blank on the initiating record, Vault restricts results to records without a value for that field. When this option is not selected, Vault automatically displays read-only exact match values on the dialog, giving users immediate visibility into the active filters. |
Perform user testing to determine the best approach for your business processes. Consider if your process requires flexibility over repeatability and strict adherence to SOPs. A common approach is to select this option for configurations invoked via user actions, while leaving it unselected for configurations used in entry actions. You can also create multiple Quality Record Check configurations with variations of this setting to allow users to select which approach best fits the situation. |
| Lifecycle states to include | Use this option to narrow the comparison pool of a record check to records in specified lifecycle states. | Prevents draft or cancelled records from appearing as confirmed historical recurrences, keeping the comparison screen focused and the results relevant. | Included states will vary based on the type of recurrence check. Commonly includes resolved, completed, or closed states (for instance, Completed, Closed, and Approved) to ensure matches represent verified historical incidents. Some business teams may wish to include process milestone states based on their business practices or new record volumes. |
| Fields on object to compare in text search (recurrence checks) and Similar Match Fields (duplicate checks and quality event suggestions) | Using this option, you can specify up to five unstructured text fields that Vault parses to extract suggested match terms. These are the fields where Vault looks for contextual overlaps. | Choosing these fields is one of the most important configuration decisions you will make. Selecting clean, descriptive fields ensures highly accurate and correctly weighted term recommendations. Selecting the right fields is the difference between a useful record check and one that requires a good deal of effort to leverage. | Consider restricting this to Title, Description, and other incident-specific descriptive fields. Avoid including fields that may contain boilerplate text, system text, or text that is otherwise irrelevant to the specific incident, as this introduces noise and can skew term weighting. |
| Exclude numeric suggested terms | When selected, Vault ignores dates, numbers, serial codes, and numeric batch IDs during suggested term generation. | Strips out meaningless numerical sequences from the suggested terms field, preventing users from seeing confusing match terms that skew similarity percentages. | Select this option to ensure Vault-suggested terms do not include meaningless numerical strings. If Batches are tracked numerically in your Vault, consider testing configurations with this setting disabled to evaluate performance against your data set. |
| Hide similarity scores from users (not applicable to Record Suggestions) | By default, similarity scores are displayed to the user. Selecting this option hides the similarity scores, grouping records into simple sets of likely matches, unlikely matches, and so on. |
Simplifies the record check interface, allowing users to focus on the overall ranking instead of on minor similarity score differences. | To avoid user confusion around similarity scores, we recommend selecting this option when initially configuring record checks. Once business users are familiar with the record check tool, you can evaluate if they wish to see the specific similarity scores. |
| Related Object Match Criteria (not applicable to Record Suggestions) | Expands the exact-match filtering parameters to inbound child join objects, such as the Category and Sub-Category on related Root Cause records. When a related object is added here (such as Category from Root Cause) it acts as both a match and a filter, returning Deviations or Complaints with associated matching root cause categories, and potentially omitting those with differing root cause categories. If no related record exists on the source record, Vault ignores the related object match criteria. For each related object, you can configure advanced options to account for nuances in related object data sets, such as storing more than one type of data in an object, like a batch, where not all records would be applicable to record checks. Each related matching object supports Criteria VQL (up to 500 characters) to filter related records before similarity checks run. |
Allows users to filter potential matches based on technical categorization (for instance, only matching Deviations that share at least one related, active Batch record). | Initially configure a related object match for your key descriptive context records like Root Cause or Batch. For initial configurations, do not use Criteria VQL, or keep it simple (for instance, status__v = 'Active' AND product_batch__v != '') to ensure fast execution. Avoid prohibited operators (such as logical NOT) or system-blocked functions (such as STEADYSTATE()) to prevent configuration validations from blocking save actions. |
About the Run Quality Record Check Action
To execute a record check within a business process, you must add the Run Quality Record Check to a state in a supported object’s lifecycle. Your Admin can configure this action either as a manually executable user action or an automated entry action.
The action’s placement should align with your business process and type of check. Some examples are suggested below, though it is common for additional uses and placements to exist in Vault configurations. You can configure a single user action with multiple Quality Record Check definitions to account for checks against different historical time periods or to allow and prohibit user-defined match terms.
Example: Entry Action Upon Deviation Team Assignment
Recurrence checks are configured as an entry action when a Deviation enters an early lifecycle state such as In Initial Submission Review, or a custom configured state such as In Triage. This automates the check immediately upon creation, ensuring historical recurrence insights are available before an investigator begins drafting a formal investigation plan.
Example: User Action Upon Intake of a Complaint
Duplicate checks are configured as a user action during an early lifecycle state such as the Intake or Triage state. This allows the intake team to manually review the matching rules, adjust term overrides, and copy attachments or field values from verified duplicates into the original complaint record before closing the duplicate complaints.
Action Configuration Options
These options are available when configuring the Run Quality Record Check action. Some of these options also apply to the Generate Record Suggestions action for the Quality Event Suggestions feature.
| Option | Details | Impact | Initial Recommendation |
|---|---|---|---|
| Quality Record Check | The Quality Record Check definition used for the action. Entry actions support one Quality Record Check definition per configuration, while user actions can include multiple definitions. | Ensures that background execution is deterministic and executes against a single defined rule set. | To give users increased flexibility when performing Record Checks, configure a user action with multiple different Quality Record Check definitions, including pre-determined, validated record checks and more flexible ones which allow for user-provided terms or timeframes. |
| Allow user to override discovered match terms | This option allows users to remove suggested match terms and to suggest terms of their own. This option is not available during initial entry action execution, as record checks run without displaying a dialog. However, it is honored when running record checks as user actions, or if the user subsequently clicks the Refresh button on the comparison screen to refine the results of a check initiated via entry action. | Enabling this option for entry actions provides a safe, automated default run while retaining power-user flexibility if investigators need to adjust terms later on subsequent re-runs. Allowing users to modify match terms can change how the similarity scores of a given record check are calculated. |
Do not select this option when initially configuring this action, as it’s an advanced tool that prioritizes flexibility over repeatability and consistency, and may affect initial evaluations of recurrence check accuracy. |
| Inherit Owner from following Lifecycle Roles | Available for entry actions only, this option assigns the user in the specified role on the originating record (such as Record Owner, QMS Coordinator, or Triage Owner) to the owner role on the resulting Record Check Result record. | This option ensures that Record Check Result records always have an owner to manage their review. | Viewer is not a valid selection; the role must support edit capabilities on the resulting Record Check Result record. The most common selection for this role is Record Owner. |
Testing Record Checks
We strongly recommend testing any Record Checks configuration in a sandbox Vault prior to deploying it in your production Vault.
Recommendations for Production-Quality Test Data
Consider the following guidelines when developing an assessment and test plan for any type of record check:
- Establish a realistic baseline: Good tests leverage at least one to two years of production-quality data in the testing sandbox. If copying data is restricted, Admins should selectively migrate a representative, de-identified historical dataset that contains real-world technical descriptions, product names, and site variations.
- Maintain diversity across sites and products: Ensure the test data spans several products, batches, and manufacturing sites. This is critical because recurrence rules typically utilize these fields as exact match criteria. Testing with varied site metadata is the only way to evaluate if the configuration successfully recognizes the data before running text similarity algorithms.
Why the Use of Test Data Is Not Recommended
Testing record checks in a sandbox Vault with basic, repetitive test data (such as Deviation 1, Deviation 2, and so on) does not properly validate how the feature would perform in a production environment with real data. This is because the record check’s algorithms extract key terms based on their grammatical relevance and rarity across the entire dataset in your Vault. If a sandbox Vault contains a small or artificial data set, the mathematical distribution of term frequencies is skewed. The Record Check will either fail to extract any meaningful suggested terms, or assign heavily distorted weights to common words, both of which result in poor search matching.
Testing with Business Users
Rather than treating record check validation as a pass/fail IT exercise, we recommend establishing a collaborative feedback loop with key business users. Intentional exploration and documentation of results is necessary due to how each organization uniquely captures and represents key data. The following practices can help ensure accurate testing and encourage adoption:
- Identify known matches: Since the data set is historical, users should provide a list of known matches for the type of record check being tested to ensure that it performs at least as well as the organization’s manual practices.
- Iteratively adjust match rules and thresholds: Admins and business users must work together to review the returned matches and iteratively adjust the similarity thresholds. These individuals must assess if Vault returns all of the expected records, and any unexpected ones. The following questions can help guide this assessment:
- Were the unexpected records plausible and worthy of review? If so, consider lowering the threshold or keeping it where it is.
- Were the unexpected records irrelevant? If so, consider raising the threshold to eliminate the amount of content users will sift through.
- Were there known matches that were not returned? If so, consider lowering the threshold, or adjusting your matching fields to return the missing records.
- Train on overrides and filters: Train key users to test how altering match criteria, such as changing a facility or expanding a date range, impacts results. Such findings should be documented and provided to users for wider-scope rollouts.
- Define a recurrence: Testing establishes the organizational definition of a repeat event. For example, should a deviation on the same equipment at a different site be considered a recurrence? Defining these procedural boundaries during the testing phase ensures the final configuration aligns with standard operating procedures (SOPs).
- Build trust: Taking part in the testing process and seeing results improve with iteration allows business users to gain confidence in leveraging the tools, and teaches them where to supplement the tools with their own expertise when you move to production.
Related Features
You can configure the following QMS features to work in conjunction with Record Checks. Some of the features below are dependent upon having Record Checks configured, and some are independent of record check configurations:
- Recurrence Check Insights: An extension of recurrence checks providing an advanced dashboard page that consolidates historical quality data. From this page, users can populate a new recurring event with field data from similar historical events and link the event to historical investigations, active CAPAs, and effectiveness checks. This helps eliminate redundant work.
- Quality Event Suggestions: Provides recommendations for key field data and related records based on their relevance to the recurring record. Vault determines these recommendations by evaluating data from the 100 historical records that most closely match the new record. This eliminates the need for error-prone manual comparison processes and shortens cycle times.
- Quality Automated Language Translations: Translates key text fields on Complaint Intake and Complaint records. This shortens cycle times by allowing triage teams to run record checks on these records without needing to wait for an external translation team.