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
Chirag MehtaChirag Mehta 

getDeleted EntitySubscription and FeedLike

There are no triggers available on EntitySubscription and FeedLike objects, so there's no way available to log deletion of these objects. 

 

Is there a way to determine the deleted entity subscription and feedlike records for a specific period of time ie say a api call that gives last xhrs deleted records.

 

I tried using ALL ROWS and Isdeleted=true clause with  EntitySubscription to retrieve deleted records, but it's not working. 

 

 

Jia HuJia Hu
Based on my understanding, you can't get this by a direct API call.

You have to count it manually by days or hours and save the result in a Custom object.

Then you can compare the result by a time period.