Loading

ContentDocumentLink doesnt support bulkification

Julkaisupäivä: Jun 22, 2026
Kuvaus

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.
 


 

Ratkaisu

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.

Knowledge-artikkelin numero

000384323

 
Ladataan
Salesforce Help | Article