You are here:
Use External Change Data Capture to Track Data Changes on External Objects
With External Change Data Capture, you can track changes to data that is stored outside your Salesforce org when using the OData 4.0 and 4.01 adapters. You can then build automation in response to the changes to increase productivity or provide a better customer experience.
The external data change tracking feature polls the external system at configurable intervals (5–30 minutes) for tracked changes. For each external object that has the feature enabled, a topic channel and an associate change event entity are created where change event notifications are published. You add a subscriber to each topic channel and then process the data changes through Streaming API. You can also add an Apex trigger that is called when change event notifications are published.
- External Change Data Capture Considerations
Keep these considerations in mind when working with External Change Data Capture. - Enable External Change Data Capture and Tracking
Enable external change data capture for the data source and each external object that you want to monitor. - Subscribe to Change Events
You can use Apex triggers to subscribe to change events. Or you can use a Bayeux client to subscribe to Streaming API on the publication channel. - Check the External Change Data Capture Status for an External Object
You can quickly check the change-tracking status from an external object’s detail page. More detailed monitoring is also available. - Change the Polling Interval for External Change Data Capture
By default, the external change data capture feature polls the external system every 30 minutes for tracked changes. You can change the interval to poll the external system as frequently as every 5 minutes. - Monitor and Troubleshoot External Change Data Capture
Check these tips when troubleshooting change tracking on external objects. - Example: How Codey Outfitters Uses External Change Data Capture
The fictitious company, Codey Outfitters, distributes outdoor equipment from local small businesses to outdoor enthusiasts around the world. The company handles all logistics, such as complying with import laws for each state and country.

