You need to sign in to do that
Don't have an account?
Siddhartha Tomar 12
Territory Management
Hi All,
I have requirement where i have to assign the lead on the basis of Zip code to particular user (District head). And i have more then 1000 Zip code.
Please suggest what will be best apporach to this.
Thanks
Sid
.
I have requirement where i have to assign the lead on the basis of Zip code to particular user (District head). And i have more then 1000 Zip code.
Please suggest what will be best apporach to this.
Thanks
Sid
.
Greetings!
You would need to use Batch apex to achiev this requirement.Please refer the sample batch class to update field:
https://www.forcetalks.com/salesforce-topic/writing-a-batch-apex-to-update-field/
Please mark it as best answer if it helps you to fix the issue.
Thank you!
Regards,
Shirisha Pathuri
Thanks for reply. I have a requirement when lead is created in salesforce it will assign to particular user based on Zip code. In this case batch class will not work. I don't want to run the batch class to update lead information.
Thanks
Sid