Field History Tracking SOQL for Parent(Lookup or Master Detail) field in Salesforce

Sample SOQL:
SELECT Id, OldValue, NewValue, Field FROM ContactHistory WHERE Field = 'Account' AND ContactId = '0035f000002a3PlAAI'

Output:
 
 

No comments:

Post a Comment