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
Dr SalesforceDr Salesforce 

Need solution/consultation on How to update a custom field on accounts with the value of user who is assigned to that territory?

E.g - Assume we a Territory called - "Varun's Territory" and the user assigned to that territory is "Varun Vyas" and there are 100 accounts assigned to it by some assignment rule. Also, assume we have a field on Account called "User assigned to Territory"(could be lookup to user or could be just a text field). So, is there a way by which we can update this field's value to "Varun Vyas" for his 100 accounts?
Topic: Territory Management