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
Rahul_sgRahul_sg 

Add flag to Chatter posts

Can we add a flag(boolean field) to Chatter posts so that we can do some calculations/DML for such feeds when they are inserted?

Best Answer chosen by Admin (Salesforce Developers) 
ChrisOctagonChrisOctagon

I don't think so, but you could add a custom object that references them in a trigger on FeedItem.

All Answers

ChrisOctagonChrisOctagon

I don't think so, but you could add a custom object that references them in a trigger on FeedItem.

This was selected as the best answer
Rahul_sgRahul_sg

Yeah Thats what I was thinking but just wanted to check other options :)