Two agents, one client, two answers. Owning a case locks nothing.
In Salesforce the owner of a case says who is responsible for it. Sharing says who may change it, and on many service desks case sharing is Public Read/Write, so every agent can edit every case. A reply to the client is a separate record that a rule on the case never sees. So ownership holds only when one check covers both the case and the outgoing email. Below is what each sharing setting really permits, and the claim rule I built for an insurance agency in the United States, with the tests that proved it.
Sharing and queue behaviour link to Salesforce Help and the object reference, read on 23 November 2026. The build described is in production; details are from my own records of it.
Why can any Salesforce agent answer a case another agent owns?
Because sharing, not ownership, decides who may edit. With case sharing at Public Read/Write, all users can view, edit and report on all cases. Public Read/Write/Transfer adds changing the owner, and exists only for cases and leads. Neither looks at the Owner field when someone saves. Taking a case from a queue makes you the owner and protects nothing.
| Case sharing | Who can edit a case owned by someone else | Who may take a case from a queue | What it means on a desk |
|---|---|---|---|
| Public Read/Write/Transfer | All users, and all can transfer it | Anyone, from any queue | Ownership is a label and nothing more |
| Public Read/Write | All users | Queue members, and people above them in the hierarchy | The whole team sees and can answer every case |
| Public Read Only | The owner and roles above the owner | Queue members, and people above them in the hierarchy | Edits are protected; everyone still reads every case |
| Private | The owner and roles above the owner | Queue members, and people above them in the hierarchy | A colleague cannot open the case when the client calls |
Access levels: Organization-Wide Default Access Settings. Queues under each sharing model, and Edit on cases as the permission needed to take one from a queue you belong to: Assign Cases. Both Salesforce Help, read on 23 November 2026.
Why does a validation rule on the case not stop the second reply?
Because the reply is not saved on the case. An email sent from a case is stored as an EmailMessage record, linked to the case by its ParentId field. Saving that record does not save the case, so a rule on Case never runs. An agent whom the rule stops from editing a case can still write to the client, unless the same check runs on outgoing email too.
| What the agent does | Record that is saved | Does a rule on Case run? |
|---|---|---|
| Changes the status or a field | Case | Yes |
| Types a new name into the Owner field | Case | Yes |
| Sends an email from the case feed | EmailMessage, with ParentId set to the case | No |
| Edits an email after it was sent | EmailMessage, though the client already has the old text | No, and the sent mail does not change |
Email to Case storage and the note that updates by flows or triggers to a sent EmailMessage are not reflected in the email itself: EmailMessage, object reference, read on 23 November 2026; that a rule on Case does not run on the email is from my own build.
What does a claim rule that holds consist of?
Six parts, and three of them are Apex. Agents claim work with a Take it action. Handing a case on goes through a Change Owner action of its own, a screen flow that asks for a comment. One Apex check refuses an edit by anyone but the owner, and the same check refuses an outgoing email. Queue membership is read through nested groups. And a short list of roles may pass, so managers can still move work.
01Take it
A quick action runs a screen flow: the agent becomes the owner and sets the request type on the same screen. It is offered only on cases in a queue the agent belongs to.
02Change Owner, with a comment
A quick action of its own, not the standard Change link, and the only way to pass a case to a colleague. The comment cannot be skipped and stays on the case, so the next owner reads why it moved.
03One check on every case save
Apex compares the person saving with the owner and refuses the save when they differ.
04Outgoing email checked too
An email that has gone cannot be called back, so the check refuses it rather than correcting it afterwards.
05Queue membership through nested groups
Agents often sit in a queue through a public group. The check reads membership the same way, or a member is refused on their own queue.
06A named list of who may pass
Managers who reassign, the people who correct a request type, and a merge in progress. Everyone else claims first.
How the agency desk runs: the insurance agency case. The same rule runs on leads for the sales queue.
Who should be allowed past the ownership rule?
As few roles as the work allows, each written down with its reason. In the agency desk three things pass: the managers who reassign cases and policy changes, the people who correct a request type, and a merge, which the check recognises inside its own transaction. Every other exception would bring back the second answer.
| Who or what | What it may do without claiming | Why it needs the exception |
|---|---|---|
| A manager | Reassign a case or a policy change | Covers absence and workload without logging in as anyone |
| The person who sorts incoming mail | Correct the request type | A wrong type sends the case to the wrong queue |
| A merge of duplicate cases | Move emails and records to the master case | A merge edits several cases at once, none of them claimed |
| Everyone else | Nothing until they press Take it | This is the rule |
Exceptions as built and in production at the agency; duplicate cases and merging: Email to Case duplicate cases.
How do you prove in a sandbox that only the owner replies?
With three test users in a sandbox: A and B in the same queue, C in another team. Each row below is one action and one expected result, written down before the test and ticked after it. The row that matters most is B sending an email on a case A owns. If that email leaves, the rule covers edits only.
| Who does what | Expected result |
|---|---|
| A opens a queue case and edits it without claiming | Refused |
| A presses Take it and picks a type | A is the owner, the type is set |
| B edits the case A now owns | Refused |
| B sends the client an email from that case | Refused, nothing is sent |
| A types B into the Owner field | Refused: owners change only through Change Owner |
| A hands the case to B through Change Owner, with a comment | B is the owner, the comment is on the case |
| C tries Take it on a case in A’s queue | The action is not offered |
| A manager reassigns the case to C | Allowed |
Add one more line before the test: who can open every case anyway. Salesforce Help says administrators and users with View All or Modify All permissions can still reach records they do not own, whatever the queue settings, so list them first. That list is also the first line of any permissions audit, as in nine permission risks.
Remove the test cases and deactivate the three users afterwards. Queue setup, Grant Access Using Hierarchies and who sees queue records regardless: Create Queues, read on 23 November 2026.
Questions buyers ask about case ownership
QCan this be done with a validation rule alone?
For edits, yes. For replies, no: the reply is an EmailMessage record, and saving it does not save the case, so a rule on Case never sees the email.
QWhy not set case sharing to Private?
Because a colleague then cannot open the case when the client calls and the owner is out. Salesforce Help says Private lets only the owner and roles above see the record.
QDo the Take it buttons work on a tablet?
They did once they were Lightning quick actions. At the agency the tablet first showed Classic buttons; moving both actions to Lightning quick actions fixed it.
QDoes the same rule work for leads?
Yes. At the agency a sales queue uses the same claim action on leads, with the same check on save.
Serhii Skrypnyk, Senior Salesforce Administrator, Salesforce certified, on the platform since 2018. Reviewed 23 November 2026.
Start with the desk the rule stands on
A Service Cloud build here starts at €12,325 for 145 hours: the case model, queues, email to case and reports for up to 15 agents. An ownership rule like this one is scoped in writing on top. Every build includes thirty days of support after handover, up to eight hours in total, and a sixty day warranty.
