Loading

Salesforce Error When Deactivating a User That is the Default Owner of Cases or Automation

Data pubblicazione: Mar 31, 2025
Descrizione

Users receive a message,  'You cannot deactivate this user. You cannot deactivate a user who is the default owner of cases' or ' You cannot deactivate the Default Workflow User' etc.

Risoluzione
  1. Navigate to:
     
    In Salesforce Classic: Go to Setup | Customize | Cases | Support Settings
    In Lightning Experience: 
    Click the gear icon then go to Setup | Feature Settings | Service | Support Settings

    Change the 'Default Case Owner' and 'Automated Case User' as needed.

  2. Return to the User Detail page to deactivate the System Admin (deselect the Active box).
  3. If it is not possible to deactivate the user, check and adjust the Default Workflow User, found in Process Automation Settings.


When encountering the error, a link is provided directly to the location in which the change can be made to remove the designation. Currently, the links do not all work from within Lightning Experience, so switch to Classic as needed.

There are other messages for the following:

Leads

  • Web-to-Lead Default Creator
  • Lead Process
  • Assignment Rules
  • Auto-Response Rules
 

Cases

  • Auto-Response Rules
  • Assignment Rules
  • Default Case Creator
  • Automated Case Owner
 

Workflows and Approvals

  • Record Owner
  • Task Assigned to the User
  • Email Sent to the User
  • In an Approval Process/Approver/Delegated Approver
  • Default Workflow User

 

Note: It is possible to 'Freeze' the user's record. This option allows you to temporarily suspend a user account that requires more work to deactivate. See Freeze or Unfreeze User Accounts documentation for more information.

Numero articolo Knowledge

000384586

 
Caricamento
Salesforce Help | Article