Loading
The Trailblazer Community is now read-only Read More
Data Processing Engine
On-Demand Processing Execution Limits

On-Demand Processing Execution Limits

Salesforce Apex guardrails govern on-demand processing of Data Processing Engine (DPE) definitions and are designed for low to moderate data volumes. Review the processing limits and record caps to determine when to use on-demand mode instead of scheduled batch processing.

Required Editions

View supported editions.

Execution Limits

On-demand definition run limits depend on whether the run is synchronous (immediate) or asynchronous (batch). The table lists the limits for each mode.

Description Synchronous Limit Asynchronous Limit
Maximum context JSON output limit 14 MB 14 MB
Maximum processing time in milliseconds 10,000 ms 60,000 ms
Maximum size for an uploaded CSV file 6 MB 12 MB
Total number of input records after filtering 50,000 50,000
Total number of nodes in an on-demand definition 25 25
Total number of CSV file upload data sources in an on-demand definition 5 5
Total number of parallel DPE executions 5 1
Total number of records processed during writeback 10,000 10,000
Total number of records uploaded across all CSV imports — 50,000
Total number of records uploaded during a single CSV import — 10,000
 
Loading
Salesforce Help | Article