Upon Deactivating a User, there is an error message:
"You cannot deactivate this user. You cannot deactivate a user who is receiving cases or notifications as part of your case assignment/escalation rules. Click here to view your case assignment / escalation rules."
After checking the Case Assignment Rule and Escalation Rules.
User is listed on an Inactive Assignment Rule or Escalation Rule, and cannot be deactivated.
Most likely, this is due to the Escalation Action inside the Escalation rule. Comparing the Assignment Rule and the Escalation Rule, in the Assignment Rule, you can see right away the "Assign To" for each rule. However, for the Escalation Rule the "Assign To" is not readily visible after accessing the escalation rule. Click "Edit" for each Rule Entry. Once you are on the edit page for the rule, you will now see in the "Escalation Action" section if the user is added to either the "Assign To" or "Notify" column.
After the corresponding action then replace the user on the "Auto-reassign cases to" and/or "Notify This User" section. Click Save. Once done, deactivate the user.
Another option would be to use a Metadata API Tool, like Salesforce Extensions for Visual Studio Code and try to find references to the User that you're trying to deactivate.
See also:
Error when you deactivate a user who is the default case owner
Escalation Actions
View and Edit Assignment Rules
000383178

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.