1

What's the difference between Field History Tracking, which needs to be activated and works only for 20 fields per object and History tables like AccountHistory, CustomObject__History ? Why would I enable Field History Tracking, if I can easily use those tables?

4
  • 2
    CustomObject__History table starts tracking the history of a field customField__c only if you enable field history tracking for that field otherwise it won't.
    – javanoob
    Commented Feb 21, 2017 at 14:33
  • ah, i see...so the table would be empty, if i don't specify any tracking for field? Commented Feb 21, 2017 at 14:35
  • CustomObject__History table is created only if we enable field history tracking for at least one field of that object otherwise the table won't exist.
    – javanoob
    Commented Feb 21, 2017 at 14:39
  • 1
    @javanoob Why don't you migrate your comments into an answer? I thought it was a pretty good question, and worthy of the good answer you provided in the comments. Commented Feb 21, 2017 at 15:55

1 Answer 1

1

Converting comments into answer:

  1. CustomObject__History table starts tracking the history of a field customField__c only if you enable field history tracking for that field otherwise it won't.
  2. CustomObject__History table is created only if we enable field history tracking for at least one field of that object otherwise the table won't exist.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .