• TanmayBharat
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 0
    Replies

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

 

Can any body guide how to write a trigger on Chatter. That should fire when in Chatter I send a message to some of the specific users in a group. And based on that an approval process should start to get the approval from the same users.

 

Another part of this exercise is I need to send one doc to each of these users for review and they will send it back to me on approving/reviewing the same. But for this part I feel sharing doc using Chatter should serve my purpose and  that should be the best way.

 

This is not a part of any application. Being salesforce users, it is just to use Chatter for our daily task in office and to reduce the burden of doing the same job separately. The main idea is to combine Chatter with approval proceess/workflow using a Trigger.

 

Thanks