-
How to update multiple sObjects field in a Salesforce Apex batch class?
Hi All,
I am in a scenario where i have to update two sObjects (say Account and Lead)name field to a particular same name.I am provided with different sObject's Ids.i have to differentiate them to which sObject these ids belong and based on that i have to update the name using batch class operation.
please give suggestions
Thanks
Log In to reply.
Popular Salesforce Blogs
![](https://images.forcetalks.com/wp-content/uploads/2022/04/18173330/sa_1650301239Salesforce%20sales%20cloud-1024x512.png)
6 Best Practices While Implementing Salesforce Sales Cloud
Sales Cloud is one of the most prominent offerings in the Salesforce ecosystem and has a proven track record of transforming the sales pipeline and…
![](https://images.forcetalks.com/wp-content/uploads/2022/08/18064819/sa_1660805029Featureimage%206.jpg)
Ideas Management Platform: Solidifying Leadership for Innovation | Salesforce
“Leadership is the capacity to translate vision into reality.” – Warren Bennis Innovation is the ability to create something novel which leads to growth in…
![opportunity records](https://images.forcetalks.com/wp-content/uploads/2021/07/08175937/opportunity-records.jpg)
Mail a Table of Opportunity Records With a Link of Detail Page | Salesforce Tutorial
In this blog, we have checked the closedDate of the whole Opportunity records and sent a mail of all opportunities whose closedDate is less than…
Popular Salesforce Videos
Uncomplicating Sales with Salesforce CPQ
Sales representatives spend 34 percent of their time doing actual sales, while a staggering 66 percent of their time generating quotations, ideas, and gaining approvals,…
Provide Stellar CX With Grazitti | Be Salesforce Ready
Brands, nowadays, need to build powerful customer relationships and provide experiences that meet and exceed expectations. With evolving technologies, customers hate to stay in queues…
Creating a Roll-up Using DLRS | Salesforce Tutorial Video
In certain situations, an object does not support a roll-up or the relation is not permitted. Learn how to make it possible by using the…