Loading

EmailPreferencesAutoBcc field cannot be updated in before trigger

Veröffentlichungsdatum: Apr 21, 2026
Beschreibung

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

Lösung

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
Nummer des Knowledge-Artikels

005318914

 
Laden
Salesforce Help | Article