How can I create a flow that the Account owner would automatically follow the account record in chatter regardless of which user created the record.
If this is not possible can it be done using Apex. Any sample code would be much appreciated!
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.Sign up to join this community
I don't know if what you want can be achieved via flow, but it can via
Apex, using the
EntitySubscription follow = new EntitySubscription( ParentId = accountToFollow.Id, SubscriberId = accountToFollow.OwnerId ); insert follow;