Loading

EmailPreferencesAutoBcc field cannot be updated in before trigger

Publiceringsdatum: Apr 21, 2026
Beskrivning

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

005318914

 
Laddar
Salesforce Help | Article