The Record History feature allows users to capture a configurable snapshot of a record at a point in time (such as approval or closure) that contains all pertinent information for the record and its related records per your business needs. This supports a wide variety of scenarios across your Quality Vault, for instance, capturing the current state of a Supplier when its qualification changes are approved, or a globally spanning Change Control upon its closure. The record’s history can be quickly and clearly displayed to an inspector or auditor during quality processes such as investigations of nonconformances or complaints, without having to leave the record’s detail page.

This feature utilizes Quality Document Generation to generate a document that contains the data from an object record, capturing a snapshot of the record each time it is approved or closed. A list of these documents is displayed in the Record History section along with document fields that are populated with data from the record at the time of document generation. Users can click on the documents to view each snapshot of the record. The History Details section provides an inline display of the most recently captured snapshot of a record. When a user navigates to the record in a closed or approved state, Vault displays the latest version of the document that represents the record at the time of closure. When users download the record as a PDF, the historical data displayed on the record is included in the PDF.

Supported Objects

Record History supports all standard QMS and Product Surveillance objects. Standard objects are those with a __qdm or __v namespace.

Configuration Overview

Complete the following steps to configure the Record History feature:

  1. Configure document fields
  2. Configure objects
  3. Configure document generation
  4. Configure user permissions

Configuring Document Fields

Generated historical documents can be any document type in your Vault. Once you select a document type for generated documents, you must add fields to the document type to store field values from the corresponding record at the time of document generation. These values are displayed as plain text in the Record History section of object records, and populated in the document metadata fields of each generated document.

The fields you add must be required and have the same data type and API name as the source object field, excluding the extension (for example, __c or __v). When populating fields during document generation, if there’s more than one field with a matching name, Vault prioritizes standard fields (fields with a __v extension).

Configuring Objects

To use the Record History feature, you must make the following changes to the supported object.

Configuring the Document Reference Field

The standard History Record document reference field stores a link to the latest version of the historical snapshot of a record. This field is available on a subset of standard QMS objects. Activate the History Record document reference field and add it to the relevant object types.

If required by your business process or configuration, you can optionally use a different standard or custom document reference field.

Configuring the Record History Section

The Record History section displays documents containing historical versions of a record, and data populated into document fields from object fields on the record at the time of document generation. Users can click on a document displayed in this section to view the full snapshot of the record. When selecting lifecycle states in which to display the section, do not select any closed states.

To configure:

  1. Navigate to the appropriate object layout.
  2. Click Insert Section.
  3. Select the Record History section type.
  4. Enter a Section Label.
  5. In the Show the section only in these lifecycle states field, select the appropriate lifecycle states.
  6. Enter the API name of the Document Field that references generated history documents. If you are using the standard History Record field, this value should be history_record__v.
  7. Select the Document Type for generated documents.
  8. Select the Fields to Display. These are document metadata fields that Vault populates with values from the originating record when generating a document. You can select up to 25 fields.
  9. Click Done.
  10. Click Save.

Configuring the History Details Section

In lifecycle states with the History Details section configured, when users navigate to a record, the version of the record at the time of closure or approval displays. To configure the History Details section:

  • Add the History Details section and select the relevant lifecycle states in which to display the section. These should be closed and approved states. Enter the Document Field that references the generated history document. If you are using the standard History Record field, this value should be history_record__v.
  • Create layout rules with a Hide display effect to hide:
    • The History Details section on all lifecycle states except the closed or approved state.
    • All sections except for History Details when records are in a closed or approved state.
  • As an alternative to configuring the layout rules in the above step, you can instead create another layout for the object that displays only when a record in a closed or approved state, and configure it in the following ways:

Configuring Document Generation

To use the Record History feature, you must configure your Vault to generate a document from the record and populate a reference to the generated document into the History Record field. To do this, configure the Generate Document From Formatted Output action as an entry action on a closed or approved lifecycle state, or the Generate Document from Record Layout job to run on a workflow step that corresponds to a closed or approved state of the lifecycle. Each time the record reaches the configured lifecycle state or workflow step, Vault generates a document from the record, adds it to the Record History section, and stores the link to the document in the Record History field on the record. If the record is in a closed or approved state, the latest version of the document displays.

When configuring document generation, ensure you select the same Document Type that you selected when adding the Record History section.

User Permissions

To utilize the Record History feature, users require the following permissions:

  • Edit permission for all relevant supported objects.
  • Read permission for the Record History field on each target object.
  • Read permission for the Record History document reference field on the target object.
  • View permission for the Record History and History Details object controls.
  • View permission for the History Details page.
  • View permission for the relevant document types.

To configure the Record History feature, you must have the following permissions:

Type Permission Label Controls
Security Profile Admin: Document Fields: Edit Ability to edit and configure document fields.
Security Profile Admin: Formatted Output Records: Create Ability to create new formatted outputs.
Security Profile Admin: Jobs: Create Ability to create job definitions.
Security Profile Admin: Object Lifecycles: Edit Ability to edit and configure object lifecycles.
Security Profile Admin: Object Workflows: Edit Ability to edit and configure object workflows.
Security Profile Admin: Objects: Edit Ability to edit and configure Vault objects.
Security Profile Admin: Permission Sets: Edit Ability to edit and configure permission sets.