Loading

'Default' Case Assignment Checkbox Is Unchecked After Change Set or Metadata API Deployment in Salesforce

Fecha de publicación: Jun 30, 2026
Descripción

 

Administrators may notice that the 'Default' checkbox under Case Assignment Checkbox in a Case page layout's Layout Properties is unchecked after deploying the page layout from a source organization to a target organization using a Change Set or the Metadata API (ANT migration tool).
This behavior is observed even if the 'Default' checkbox was checked in the source organization before deployment.

Steps to Reproduce

In the Source Organization

  1. Create a Case page layout.
  2. Edit the layout and click Layout Properties.
  3. Under Case Assignment Checkbox, check the 'Default' checkbox.
  4. Click OK and save the page layout.
  5. Create an outbound Change Set, add the page layout, and upload it to the target organization.

In the Target Organization

  1. Validate and deploy the inbound Change Set.
  2. Edit the page layout and click Layout Properties.
  3. Observe that the 'Default' checkbox is unchecked.

 

 

Solución

This is expected behavior. The 'Default' checkbox state is not preserved in deployment unless the Show on Edit Page checkbox is also enabled in the source organization's page layout settings before deployment.

Why This Happens

The 'Default' checkbox behavior is controlled by two Metadata API page layout properties:

  • showRunAssignmentRulesCheckbox: Controls whether the Case Assignment Checkbox is visible on the page layout at all. This is equivalent to the "Show on Edit Page" checkbox in the UI. It is only applicable to Lead and Case objects.
  • runAssignmentRulesDefault: Controls the default value (checked or unchecked) of the Case Assignment Checkbox. This property is only relevant if showRunAssignmentRulesCheckbox is also enabled.

In simple terms: the 'Show on Edit Page' checkbox must be checked in the source org before deployment — otherwise, the 'Default' value does not carry over to the target org.

Steps to Fix

  1. In the source organization, edit the Case page layout.
  2. Click Layout Properties.
  3. Under Case Assignment Checkbox, check both Show on Edit Page and Default.
  4. Click OK and save the layout.
  5. Re-add the page layout to a Change Set and redeploy to the target organization.
  6. Verify that the 'Default' checkbox is now checked in the target org.
Recursos adicionales


Special Behavior in Deployments
Components Available in Change Sets

 Layouts - Metadata API Developer Guide

Número del artículo de conocimiento

000383705

 
Cargando
Salesforce Help | Article