0

I've Googled this and found literally no documentation. What is the function of the leadChangeEvent object?

1 Answer 1

2

It's part of the Change Data Capture feature. sObjects postfixed with Event on the name of some other sObject are the entities that represent change events as received by Async Apex triggers running on the platform, e.g.,

trigger LeadChangeEventTrigger on LeadChangeEvent (after insert) {

}

For standard objects, the name is <object>ChangeEvent (e.g., LeadChangeEvent); for custom objects, it is <object>__ChangeEvent, e.g., MyObject__ChangeEvent for some MyObject__c.

You must log in to answer this question.

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