Loading
Own from Salesforce
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Preserve Salesforce Record Audit Fields

          Preserve Salesforce Record Audit Fields

          Maintain accurate historical data in Salesforce by preserving record audit fields. Keep original values, such as dates and users, of audit fields during data operations such as restore, seed, or unarchive jobs.

          Audit fields in Salesforce capture the dates of the creation and modification of a record. They also record the user who created and last modified the record.

          Audit field examples: CreatedByID, CreatedDate, LastModifiedbyID, LastModifiedDate

          By default, Audit Fields cannot be updated via API. This means when inserting data via API, the Date Audit Fields will be populated with the time of the job, and User Audit Fields will be updated with the user running the job.

          There are scenarios where our features will insert data into your environment. For example, a restore job, seed job, or an unarchive job - are all activities that would create data in an environment.

          1. Allow assigned users permission to insert values for the Audit Fields via API. In Settings, select User Interface from the tree menu on the left pane.
          2. In the Setup section of the page, check the checkbox Enable “Set Audit Fields Upon Record Creation”.
          3. Assign the “Set Audit Fields Upon Record Creation” System Permission to a user via profile or permission set.
          Note
          Note If you have an automation that runs during record creation, it may update the audit fields after the records are created.
           
          Loading
          Salesforce Help | Article