Scenario:- We have an object in which there is field called Guide(It is a lookup field to user). I need to update the owner of the record based on the value of the field. If the value of Guide field is "XYZ", the value of owner also should be "XYZ" regardless of who has created the record. It should be achieved through sharing rules.
3 respuestas
Ruchit Patel (Cognizant) Forum Ambassador
Hello @Vaibhav Sharma sharing rules are used to grant access to records that's owned by uses with each other. If you want to update the Owner based on some criteria you can use either RT flow or you can use Apex if you just want one-time update of owners.