function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
qpiasqpias 

Correct way to stream delete events?

We are integrating Salesforce data into our own system by using PushTopics that notify create/update events for objects, but how should we catch delete events? Do we need to setup triggers to maintain a delete log and then setup another PushTopic for the log, or is there a simpler way to do this?

VinodMVinodM

Delete events are not directly supported in streaming. Yes the way you have described will work.

 

--Vinod.