Skip to main content

Configure Field Audit Trail

Learning Objectives

After completing this unit, you'll be able to:

  • Enable field history tracking for standard and custom objects in Salesforce.
  • Define data retention policies, including Archive After and Archive Retention periods.
  • Distinguish between active history data in the related list and archived data in long-term storage.

Now that you understand the theoretical benefits of Field Audit Trail (FAT), it’s time to see how those concepts are applied in a real-world scenario. Step into the shoes of a compliance administrator for Northern Trail Outfitters. Next, learn how to enable foundational tracking settings and define a specific retention policy to meet regulatory standards. And explore how to verify that field changes are being captured correctly using the Field History Explorer.

Enable Field History Tracking

Before you can define retention policies, you must ensure tracking is turned on for the objects that matter most to your business. When you enable tracking on an object, you can select up to 50 fields per object to monitor.

  1. From the Shield Home page, click Field Audit Trail, and then click Field History Tracking.
  2. In the Field History Tracking Search box, enter Account to display the Account object.
  3. Select Enable Field History Tracking for the Account object.
  4. Select Track Field for these Account object fields:
    • Account Name
    • Phone
    • Billing Address
  5. Save your work.

Configure Field Audit Trail Policies

With your fields selected, you’re ready to apply the specific governance rules that differentiate Field Audit Trail from standard tracking.

There are three main components to a retention policy.

  • Archive After (Months): How long data stays in the History related list before moving to the archive.
  • Archive Retention Years: How long the data remains in the archive before being permanently deleted.
  • Grace Period: A short window (usually days) where you can adjust the policy before it takes effect.

In this step, define a retention policy that dictates how long data stays in the production object before being archived, and how long that archived data remains accessible.

  1. From the Shield Home page, click Field Audit Trail, and then click Field History Tracking.
  2. In the Field History Tracking Search box, enter Account to display the Account object.
  3. Change the value in Archive After (Months) to 12 months.
  4. Change the value in Grace Period (Days) to 7 days.
  5. Save your work.

Verify Field History Tracking

In this final step, modify a record in real-time to generate history data. Then, use the Field History Explorer to confirm that your changes were captured, ensuring your audit trail is active and reliable.

  1. In the App Launcher search box, enter Account, and then select Account.
  2. Click New to create a new Account record.
  3. Enter Acme under Account Name.
  4. Enter 123-456-7890 under Phone.
  5. In DOB, select any date in the past.
  6. Save your work.
  7. From the Shield Home page, click Field Audit Trail, and then click Field History Explorer.
  8. In the Review History Search box, enter Acme and select Acme.
  9. Confirm that your changes to the Account - Acme record appear and that field history tracking is capturing and storing your data.

When a user updates the Account Name, Phone, or Billing Address, Salesforce automatically logs:

  • The user who made the change.
  • The date and time of the update.
  • The old and new values.

Because you’ve set a retention policy, this data stays in the related list for the duration of your Archive After period. Once that time passes, the data is automatically moved to long-term storage, keeping your primary history list clean and performant while ensuring you remain audit-ready.

Now that your audit trail is active and your retention policies are in place, it's time to put that data to work. In the next unit, use Field History Explorer to investigate changes, filter by user, field, or date, and support compliance audits.

Resources

Compartilhe seu feedback do Trailhead usando a Ajuda do Salesforce.

Queremos saber sobre sua experiência com o Trailhead. Agora você pode acessar o novo formulário de feedback, a qualquer momento, no site Ajuda do Salesforce.

Saiba mais Continue compartilhando feedback