Add new User to a chatter group without Hardcoding using flow #inSalesforce

Add new User to a chatter group without Hardcoding using flow #inSalesforce


Steps:


-Create a Chatter Group sampleGroup


-Get the Chatter Group Id (may be querying it)

SELECT Id,Name From CollaborationGroup WHERE CollaborationType='Private'


-Create custom label to store chatter group id, name it may be sampleGroupLabel, in value put the above queried id


-Create Record Triggered Flow, object - User (on create), criteria - isactive equals true


-Add scheduled path, time source - createddate, offset no. - 0, offset option - hours after, done


-Create Record (to add to chatter group) - single, use separate ..., object - collaboration Group Member, set Collaboration Group Id = Label.sampleGroupLabel, Member Id = currentRecord>UserId









Comments

  1. great info thankyou

    ReplyDelete
  2. Glad, it helped. Please subscribe https://www.youtube.com/channel/UC5FQy7CjknOG1wv77nfGcVw and share if you like the you tube daily uploads

    ReplyDelete

Post a Comment