function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Avinash Dhanke 32Avinash Dhanke 32 

I have one text field and one SRM filed in lead object this is lookup for USer. i have populate the user zone(west,east,south,north) into that text field ..i will go through handler but stuck .how is the approch

Ravi Dutt SharmaRavi Dutt Sharma
Why do you need a text field? Instead of text field, create a formula field on lead with value : SRM__r.Zone__c
Avinash Dhanke 32Avinash Dhanke 32
Because for mula field not used in sharing rule thats why..This field i refer in sharing rule
Ravi Dutt SharmaRavi Dutt Sharma
Then please use a Workflow rule to update the text field. Something like below:

User-added image