Activity Forums Salesforce® Discussions Can i modify CreatedDate or LastModifiedDate of EmailMessage object on insert or update? Reply To: Can i modify CreatedDate or LastModifiedDate of EmailMessage object on insert or update?

  • PRANAV

    Member
    March 21, 2018 at 8:28 am

    Hi Ratnakar,

    If you import data into Salesforce and want to retain the audit field values of the source system, you can set the values for audit fields on the following objects: Account, ArticleVersion, Attachment, CampaignMember, Case, CaseComment, Contact, ContentVersion, Contract, Event, Idea, IdeaComment, Lead, Opportunity, Question, Task, Vote, and custom objects. The only audit field you cannot set a value for is systemModstamp.

    So I think you cant change the audit fields of EmailMessage.

    Hope this helps you.