Loading

EmailPreferencesAutoBcc field cannot be updated in before trigger

Julkaisupäivä: Apr 21, 2026
Kuvaus

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

Ratkaisu

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
Knowledge-artikkelin numero

005318914

 
Ladataan
Salesforce Help | Article