+ Start a Discussion
Dhanesh SubramanianDhanesh Subramanian 

I do want to delete the feed automatically and immediately, if the feed is posted from particular salesforce user?

I do want to delete the feed automatically and immediately, if the feed is posted from particular salesforce user?
Sanpreet SainiSanpreet Saini
Hi Dhanseh,

Try to use something like this. 

delete [SELECT id from feeditem where createdbyid='id of the user'];