Loading

EmailPreferencesAutoBcc field cannot be updated in before trigger

Date de publication: Apr 21, 2026
Description

Updates to EmailPreferencesAutoBcc field on the User object attempted within a before trigger context are silently ignored and will not be persisted.

Résolution

As a workaround, consider to use one of the following approaches: 

  1. Use after trigger
  2. Use an @future annotated method to perform the update in a separate asynchronous transaction
Numéro d’article de la base de connaissances

005318914

 
Chargement
Salesforce Help | Article