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
TanmayBharatTanmayBharat 

Trigger on Chatter Comment Feed

Hi,

I got the following terms for User debug under Debug Log, when creating Trigger on chatter comment feed. Can somebody explain these terms and the difference between them in chatter context.

1). ParentId

2). InsertById

3). CreatedById

4). Id

5). FeedItemId

 

Thanks

 

cloudcodercloudcoder

1). ParentId - the id of the Entity/record which the comment is associated by

2). InsertById - the id of the user which inserted this record, primarily used for integration scenarios

3). CreatedById - the id of the user which created the comment

4). Id - the 'primary key' of the comment

5). FeedItemId - the id of the feeditem which the comment is associated with

 

check out http://wiki.developerforce.com/index.php/An_Introduction_to_Salesforce_Chatter for more information