I've been developing an OOO auto-reply for my org so that when, for example, user A @mentions user B (who is on vacation) - user A will get auto chatter response from user B that he/she is on vacation. (See image below)

I wrote a method on the FeedItem trigger. It works fine as long as the chatter is an original posting. However, it does not work when the chatter is part of a thread.

I looked at the debug logs when chattering into a thread, but produced ZERO logs.

Does anyone know what is going on here? Would it be possible to write a trigger action on chatter threads?

Best, Eric

enter image description here


Currently, your trigger is only being fired upon the insertion of a FeedItem. You need to write a similar trigger for FeedComment insertion.

|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.