3

I am trying to invoke a trigger when an answer is marked as 'Best Answer' in Chatter Question. I tried a trigger on FeedItem and FeedComment objects, but the triggers were not invoked when I mark an answer as a 'Best Answer'. I am working on Chatter Questions and even tried creating a trigger on Question object, but get an error Invalid type: Schema.Question while trying to save. Can someone help?

0

Since a trigger was not able to handle this, I ended up implementing this with ScheduledBatch. If someone has a simpler way to do this, feel free to comment your suggestion.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.