Questions tagged [change-data-capture]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
23 views

Change data capture async triggers don't get all the events when doing multiple record operations on the same execution thread

After doing more than one operation in a single transaction, the change data capture event trigger does not get the two expected events. For example, we will create and update a Lead in the same ...
0
votes
0answers
31 views

Unable to subscribe to CDC events in Sandbox

With the example given in the link: Trailhead - Subscribe to Events, I was able to successfullt connect to my DEV org and listen to the change events for both custom and standard objects. However ...
1
vote
1answer
76 views

LWC emp API track field is not rendering

I am trying with small example of emp API, everything works fine I am able to subscribe and unsubscribe, however, the response of CDC not printing in the UI for some reason. May I am missing a small ...
0
votes
1answer
29 views

Why Salesforce has changeEvent version of object in org(even though it is not enabled)

I was browsing my org, and found that changeEvent type of object is available, whereas I did not have it enabled for any object. Doesn't it make available if and only if it is enabled(like share ...
3
votes
1answer
59 views

Change Data Capture vs Queueable Apex

With the introduction of Change Data Capture, now there is one more way to execute Asynchronous Apex. What are the advantages of Change Data Capture over Queueable Apex? How Salesforce will enqueue ...
1
vote
1answer
106 views

Change Data Capture - Update Events in bulk

I am writing a trigger in Change Data Capture (CDC) on an update of an event record (EventChangeEvent). I am getting the updated fields in the EventChangeEvent object record. Problem I am facing is ...
4
votes
1answer
123 views

Include activation of change data capture event in managed package subscriber org

First, some quick background. I'm aware there are several different ways this could be solved. Platform events, Queueables, batch jobs, etc... For now I'm specifically interested in how this would be ...
2
votes
2answers
118 views

Including External ID in CDC

We are implementing CDC to mirror record changes in Salesforce to our other platforms. When a change occurs to a record the recordIds are passed which contain the Salesforce IDS. However our external ...
0
votes
0answers
74 views

Getting change data capture events in Python

I am trying to figure out how to subscribe to streaming channel and get cdc events in Python, after success in creating new PushTopic and StreamingChannel. I saw some code examples in Java and NodeJS,...
14
votes
2answers
225 views

Change event triggers contain default value

I've been playing around with change event triggers to get an understanding of them and I noticed that if my objects have fields with default values, those fields are being included in the update ...
7
votes
1answer
112 views

Add Async Triggers into a Managed Package

Salesforce released the Process Change Event Messages in Apex Triggers in Summer '19, is this feature available in the managed package?
6
votes
2answers
269 views

Trigger.OldMap equivalent in ChangeEvent?

I'm trying to move a function from the AfterInsert trigger on account, to a Change Data Capture event, AccountChangeEvent. The problem is this function uses Trigger.OldMap to track if there were ...
4
votes
0answers
45 views

Can a Change Event Trigger include the same record multiple times?

I'm starting to play with Change Event Triggers, building a handler framework and I'm not sure if I need to handle a scenario where the same record would be included in the same Change Event trigger ...
0
votes
1answer
68 views

AccountChangeEvent fired multiple times

After the publish of this article: https://developer.salesforce.com/blogs/2019/06/get-buildspiration-with-asynchronous-apex-triggers-in-summer-19.html I'm trying to implement an async apex trigger on ...
2
votes
0answers
36 views

Why use Change Event triggers over existing async methods? [duplicate]

When and why should we use Change Event Triggers over @future or queueable methods? Also do they use sync or asynch limits? I cannot find any clear documentation stating this.
10
votes
1answer
686 views

How do I see debug logs for Change Data Capture triggers in Salesforce?

With Summer '19 we can now have asynchronous apex change event triggers. This is covered in the release notes - Process Change Event Messages in Apex Triggers and the blog post Get #Buildspiration ...
1
vote
1answer
134 views

How to get list of custom CDC object names and push topics in java?

I'm new to the API and I hope this is nothing more missing something in the documentation. I found the Change Data Capture Developer Guide and other documentation giving the endpoints for Platform ...
1
vote
1answer
27 views

Using CDC to detect changes in table definitions (DDL)

Can I use Capture Data Changes to get notifications on changes in the Salesforce table definitions, such as Add Column? Thanks in advance
0
votes
1answer
52 views

Why would I use Streaming API over Outbound Messages? [closed]

I have been looking into using the Streaming API for an upcoming integration project, and it seems like a modern way of providing near real-time data with durability. In the past I have let my ...
0
votes
1answer
269 views

Getting “before-update” info in Change Data Capture (CDC) events

the CDC feature looks great. However, the Update events only contain the changed fields after the update. Is there a way to also get the original values of the changed fields before the update? This ...
0
votes
1answer
467 views

Cannot subscribe to Capture Data Changes (CDC) channel using EMP Connector

I'm trying to implement CDC using the EMP Connector sample. I run it against the sandbox and try to subscribe to channels such as /data/ChangeEvents or /data/AccountChangeEvent. I always get this ...
4
votes
3answers
567 views

Can the cometd library be used in Salesforce to listen to external buses?

I'll confess up front that my knowledge of event architecture is limited: Can the cometd library that we can use to listen for Streaming API and Platform Events also be used to listen to external (i....
0
votes
0answers
211 views

Sending External ID Fields in change data capture(CDC) payload

We have an external system(legacy) from where we will data convert and move the data to salesforce. Lets say the object name is 'Relationship'. every time later when data changes in salesforce for ...
3
votes
1answer
164 views

Durable Message Replay from Change Data Capture

Given the following posts from Salesforce: Message Durability Replay Events Sample: Code Walkthrough StreamingReplayClientExtensions/java/CometDReplayExtension.java The way I'm understanding the ...
3
votes
2answers
1k views

Change Data Capture

With the new Change Data Capture tool coming out soon, why would someone use this over Platform Events? My understanding is that CDC utilizes Platform Events under the hood anyways.
4
votes
1answer
2k views

Change Data Capture vs Platform Events vs Replication API vs Streaming API vs Batch Data Synchronization [closed]

I have a requirement to sync Salesforce data from 2 objects to Datawarehouse and insert/update data from Datawarehouse to Salesforce.We want this data sync to be realtime for this application.Data ...