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
Gopi NaiduGopi Naidu 

Need to get a list of users that are following a case through chatter.

Hi,

 

    This is the problem i am getting.I wrote a trigger on FeedItem object of type after insert event.So i need to get  a list of users that are following a case through chatter.Trigger written on Feed Item object..need to retrive the users who follws the records of case object.and that list of users would be save in a custom object.can u plz help me to out of this..

 

 

 

 

 

Thanks,

Gopi

 

 

 

 

 

 

SamuelDeRyckeSamuelDeRycke

I think the EntitySubscription object is where "who follows what user/record" are stored.

 

Have a look at the chatter datamodel : http://developerforce.s3.amazonaws.com/website/pdfs/Chatter-cheatsheet_final.pdf