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
Chatter DevelopmentChatter Development 

User's Followers didn't get feeds

I enable feed tracking option on custom Objects(fields) in an chatterexchange application. Then I did some action relate to that app, like generate document, change custom fields value etc... for already tracking enable fields. I received feeds/messages relate to the events.
Ex:
SalesDocR-018 — Anderson created this relationship.
Yesterday at 2:56 AMComment


SalesDocR-018 — Anderson changed Status to Generated and Salesdoc Relationship Name to SalesDocR-018.

But my followers didn't get these feeds...

How can my followers receive these same message in their home/profile page??

 

Tx

Chaminda Kumara

SSRSSSRS

While event is occuring , you can feed this message to the current user.
Then current user feeds this message to the his followers.(As salesforce text message feeds to the user's followers)

To get feeds to user's followers try following code stuff(Used custom object's action)

  REChatterRelationship__c rEChatterRelationship = null;
  public PageReference feedTracking() {
    try {
      rEChatterRelationship = new REChatterRelationship__c(Name = 'objName', DocumentName__c = 'docName');
      insert rEChatterRelationship ;

      FeedPost fp = new FeedPost();
      fp.ParentId = Userinfo.getUserId();
      fp.Body = 'created ' + rEChatterRelationship.Name + ' successfully.';
      insert fp;
    
    } catch (Exception ex){
    }
    return null;
  }
 
-Suresh