Questions tagged [async-trigger]

Async triggers are triggers written on CDC Change Events

Filter by
Sorted by
Tagged with
-1 votes
0 answers

Change data Capture Design Pattern

I am implementing CDC for numerous objects. I am thinking to implement some kind of design patten, just like how we have for Apex triggers (TriggerHandler..). I am not sure how effective it is and ...
Anshul Agrawal's user avatar
0 votes
1 answer

Change Data Capture (Async Apex Trigger) vs @future method in Trigger

What is the difference between using the Async Apex trigger and @future methods? Why use Async Apex Trigger when we have @future method to separate the thread from the main Trigger? The only ...
Daniel Deepak's user avatar
0 votes
1 answer

Bypass CDC (Change Data Capture) for custom object based on specific condition

I'm looking for a way to bypass the Change Event trigger for some cases, for example, I have a batch that updates records and I want to bypass the Change Event trigger for that object to be triggered ...
user1391482's user avatar
0 votes
1 answer

Can an Asynchronous Trigger run parallelly with Batch Apex/Future/Queueable or it's added in queue

I am planning to write an Asynchronous Trigger but I am not any documentation, if Async Trigger can run parallelly with other async process or it's added in queue based on availaible resources. Thank ...
sfdeveloper's user avatar
1 vote
0 answers

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 ...
FuuRe's user avatar
  • 479
7 votes
1 answer

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?
Jair's user avatar
  • 539
5 votes
4 answers

Change Data Capture and Async Triggers

I have been reading about the new Salesforce async triggers. Currently, I tend to handle these sort of needs with a trigger that passes data to a 'Handler class' that would evaluate if a certain ...
Brooks Johnson's user avatar