1

I want to monitor the ChatterMessage Activity of a community User, so i enable the Manage Chatter Messages system permission on a cloned System Administrator profile and write the trigger. This ChatterMessage trigger is working fine if we logged in by System Admin in the internal Salesforce org and send a private message but this trigger is not running when a message sends by the Community User. Is there any permission missing/issue or any other workaround to monitor the ChatterMessage Activity of a community User?

1
  • For my requirement, I created a trigger on FeedItem sObject and its working fine :) Jul 11, 2018 at 19:29

1 Answer 1

0

ChatterMessage trigger was not running for the community user, so we used a trigger on FeedItem and it was working fine in the context of community user.

trigger FeedItemTrigger on FeedItem (before insert) {
    for(FeedItem feedItemObj : Trigger.New){
        //Do Something Here.
    }
}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .