Salesforce Fact #187 | Share related records using flow
Suppose we have a use case where we need to share the related records when the parent record owner is changed. The related records need to be shared with the same person. We can use record triggered flow and the share object to achieve this.
In this example, we have Account object and another object Enrollment has a lookup on this. Now the requirement is, once the account owner is changed, the related enrollments would also be shared with the same person. But the access would be read only.
Attached are the screenshots.
Comments
Post a Comment