Loading

ContentDocumentLink doesnt support bulkification

Udgivelsesdato: Jun 22, 2026
Beskrivelse

ContentDocumentLink does not support bulkification (bulk processing) in Salesforce Apex. This means that each insertion of a ContentDocumentLink record counts individually towards Salesforce governor limits, regardless of whether the operation occurs inside a trigger, flow, or other automation.
Governor limits define the maximum number of operations allowed in a single Salesforce transaction. When ContentDocumentLink records are inserted in bulk, each record is still processed individually — this is a platform-level constraint and applies to all related automations triggered from ContentDocumentLink.
For more information on Salesforce process limits, see Salesforce Process Limits.
 


 

Løsning

Resolution

There is currently no workaround to enable bulk (bulkified) processing for ContentDocumentLink in Salesforce. Developers should design their automations to stay within governor limits by:

  • Reviewing the total number of ContentDocumentLink insertions per transaction.
  • Batching related logic to reduce per-transaction operations where possible.
  • Avoiding triggers or flows that fire repeatedly on ContentDocumentLink in bulk scenarios.

All automations triggered from ContentDocumentLink are also subject to the same non-bulkified behavior.

Vidensartikelnummer

000384323

 
Indlæser
Salesforce Help | Article