If you build on Salesforce long enough, you will hit a lock. This post explains how Salesforce Record Locking and Concurrency work, why you see UNABLE_TO_LOCK_ROW, and how to write code that behaves correctly under load.
Author Archives → Kamal Thakur
Salesforce Query Plan – Salesforce things you should know
This is Part 2 of Salesforce things you should know. In Part 1 we covered Selective Queries and Indexes. Now let’s turn that theory into practice with the Query Plan. If you want predictable SOQL performance, this is the tool you open before you deploy your code.
Continue readingSelective Queries and Indexes – Salesforce things you should know
I am starting a new series on Salesforce things you should know. Not sure how long I can do this but surely try to keep up. To start with lets jump into one of the salesforce’s most overlooked topics when it comes to Queries – Salesforce Selective Queries and Indexes.
Continue readingAgentforce is not enough for Salesforce Developer
It’s June 2025, eight months since Agentforce became generally available. I’ve witnessed it tackling numerous Salesforce challenges effectively. But despite the rapid evolution of AI, I still notice developers and companies feeling cautious about fully embracing Agentforce. What’s holding developers back?
Could it be the mandatory enabling of Data Cloud? Salesforce clearly emphasizes how Data Cloud enhances AI results. However, if a developer or admin isn’t planning to fully leverage Data Cloud, they’re still required to enable it, even minimally in their Salesforce org just to get Agentforce running. Understandably, this might cause frustration. Although Salesforce clarifies that core Agentforce features work seamlessly with existing CRM data without a full Data Cloud setup, the technical necessity of enabling it, even minimally, might deter some users.
Continue readingSalesforce Integration Using REST API: Comprehensive Guide
Salesforce provides a robust REST API that enables seamless integration between the Salesforce platform and external systems. This guide covers everything from the basics of the Salesforce REST API to advanced topics like OAuth 2.0 authentication flows, performing CRUD operations, using Postman for testing, external integration considerations, Apex callouts, security best practices, and troubleshooting. It is structured for both beginners and experienced developers, with clear examples and illustrations.
Continue reading