Loading

EmailPreferencesAutoBcc field cannot be updated in before trigger

Publiseringsdato: Apr 21, 2026
Beskrivelse

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

Løsning

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-artikkelnummer

005318914

 
Laster
Salesforce Help | Article