Data Processing Engine
What Data Processing Engine is and how it differs from Data Pipelines, Batch Apex and Flow: requirements, limits and use in Financial Services Cloud.
You need to calculate a result over thousands or millions of Salesforce records and write it back to other records. Which tool do you use if you do not want to write code? Data Processing Engine (DPE) is one of the answers. This page explains what it is, when to choose it and what to check before production.
What it is
Data Processing Engine is a metadata-driven visual tool from Salesforce. You use it to create definitions. A definition states what data is processed, how it is processed and where the result is stored. DPE transforms data in the org and writes the result back as new or updated records. That write is called writeback.
A definition runs from Flow, the Salesforce no-code automation tool, from an API (application programming interface) or from the designer itself. Each run is tracked in Monitor Workflow Services, a Setup page.
What it is not
- It is not a Salesforce Data Pipelines recipe. A recipe is the definition of a transformation in Data Pipelines, and Data Pipelines has connectors to read other orgs, apps, data warehouses and databases, and output connectors to write to remote systems. DPE has no connectors of its own: it reads Salesforce objects, datasets (CRM Analytics data sets), Data 360 objects and CSV (comma-separated values) files.
- It is not Batch Apex. Batch Apex is a class in Apex, the Salesforce programming language, that processes records in batches. Each batch is a transaction with its own limits: if a batch fails, the earlier ones are not rolled back. DPE needs no code.
- It is not a scheduled flow. A schedule-triggered flow runs one interview for each record in the batch. DPE works with sets of records: it joins and aggregates them. Flow is, in fact, one of the ways to launch DPE.
Two runtimes
The runtime is the platform where the definition runs. DPE has two, and you choose one when you create the definition.
| CRM Analytics | Data 360 | |
|---|---|---|
| Sources | Salesforce objects and datasets | Salesforce objects, Data 360 objects and CSV files |
| Targets | Objects and datasets | Salesforce objects and Data 360 objects |
| Suited to | Complex transformations | Large volumes |
| Requirement | Turn on Data Pipelines | Set up Data 360, the Data Cloud Architect permission set and, for CSV, CSV File Import |
CRM Analytics is the Salesforce data analysis service; Data 360, formerly Data Cloud, unifies data from Salesforce and external sources. The Forecast node does not exist on Data 360. On the CRM Analytics runtime, each run goes through three stages, and writeback uses Bulk API 2.0, the Salesforce bulk load API.
How a definition is built
A definition chains three kinds of nodes:
- Source. Selects the input data. Every definition has at least one.
- Transformation. Join combines two nodes, Filter selects records, Append stacks them, Formula calculates fields, Group and Aggregate groups and summarises, Hierarchy walks hierarchies and Forecast predicts values. Some clouds add their own nodes (custom nodes).
- Writeback. Creates, updates, upserts (inserts or updates) or deletes records. Every definition has at least one.
Input variables leave values open in Filter and Formula nodes. Their value is given at each run: for example, the fiscal year to filter.
Definitions can be shared with managed packages, unmanaged packages and change sets (sets of changes).
How it runs
Activate. Activation validates the definition. To edit an active definition you deactivate it, and you cannot deactivate it while a run is in progress.
Launch. There are three ways:
- The designer, with debug modes that show intermediate results without writing.
- Flow, with the DPE action, inside a process or in a scheduled flow.
- Invocable actions, Metadata API and Apex, for developers.
A platform event, Batch Job Status Change Event, signals the end. With it, a flow can wait for DPE and continue afterwards.
Users. The permissions to run and the permissions to write can come from two different users. The second is each node’s writeback user; if none is selected, the user who ran the definition writes. DPE does not check that either of them has access to the objects: check it beforehand.
Simultaneous runs. You cannot start two runs with the same variable values. Salesforce warns that parallel runs can duplicate results.
On-Demand mode
On-Demand mode processes small or medium volumes in near real time, synchronously or asynchronously. It is available with Financial Services, Revenue Management and CSV Data Management. It requires the Run Data Processing Engine Definitions On Demand permission, included in the Data Processing Engine On Demand permission set license. It accepts up to 50,000 input records and 10,000 written records per run.
Monitoring
Each run creates a Batch Job record in Monitor Workflow Services. The run is split into tasks by stage: sync, transformation and writeback. Tasks run in sequence; if one fails, the rest are canceled.
Each run is in one of these statuses: In Process, Completed, Completed with Failures, Canceled or Failed. The Failed Writeback Records tab shows up to 50 records per node that could not be written. Failed records are stored in CSV files of up to 24 MB. On CRM Analytics, usage against the limits is shown in Setup, under Data Pipelines, Get Started.
Requirements and permissions
DPE works in Lightning Experience, in Professional, Enterprise, Unlimited and Developer Editions. It is available with industry clouds such as Financial Services, Insurance, Loyalty Management or Rebate Management.
- Creating, activating and deleting definitions requires the Customize Application and Modify All Data permissions.
- Activating also requires the Data Pipelines Base User or Data Cloud Architect permission set, depending on the runtime.
- Adding the action to a flow requires Manage Flows.
- On CRM Analytics, the Analytics Cloud Integration User, the user that syncs, needs read access to the source objects.
Limits
Values from “Data Processing Engine Limits and Considerations” on 2026-10-09.
| Limit | Value |
|---|---|
| Active definitions per org | 50 |
| Nodes per definition | 500 |
| Writebacks per definition | 20 on CRM Analytics, 5 on Data 360 |
| Users with Data Pipelines Base User, on CRM Analytics | 3 |
| Rows processed on CRM Analytics | 10 million per month |
| Processing time on CRM Analytics | 30 hours per month |
| Concurrent recipes on CRM Analytics | 1 per license |
| Data written to Salesforce from CRM Analytics | 1 GB in 24 hours |
| CSV file on Data 360 | 75 MB |
| Records written with Bulk API 2.0 | 150 million per day |
The 1 GB limit is checked when each job starts. If it has not been exceeded, the job finishes even if it then exceeds it. If it has been exceeded, jobs fail until the data written in the preceding 24 hours drops below the limit.
DPE in Financial Services Cloud
Financial Services Cloud uses DPE in its standard rollups. A Record Rollup Definition, when synced, generates a DPE definition. A schedule-triggered flow runs it with the Run Record Aggregation Batch Processing Definition action. Financial Summary Rollup ships 8 predefined DPE definitions. How the household that receives those figures is modeled is explained in Groups and Households.
Example: balances per household at a private bank
A private bank uses Financial Services Cloud without the managed package. It wants to see on each household the balance of its active financial accounts. The example is invented.
- Requirements. Data Pipelines is enabled and the Record Rollup Definitions permissions are assigned, Data Pipelines Base User included.
- Definition. A Record Rollup Definition on Financial Account is created, with a filter that excludes closed accounts, and activated.
- Sync. Sync Rollup Definitions generates the DPE definition.
- Run. A schedule-triggered flow launches it every night.
- Monitoring. Every morning the Batch Job is reviewed in Monitor Workflow Services.
- Limits. With 120,000 accounts per night, 30 nights add up to 3.6 million rows, below the 10 million a month.
The household balances are as current as the last run.
When to use it
The criterion is where the data lives and what kind of logic has to be applied.
| Situation | Tool |
|---|---|
| Data that comes from or goes to another system through a connector | Data Pipelines recipe |
| Record-by-record logic, at moderate volumes | Flow |
| Joins and aggregates over many org records, without code | DPE, launched from Flow |
| Logic that does not fit DPE’s nodes | Batch Apex |
| A few records needed almost immediately | DPE On-Demand, if the license includes it |
Before production
- Choose the runtime and turn on its requirement: Data Pipelines or Data 360.
- On CRM Analytics, give the Analytics Cloud Integration User read access to the source objects.
- Choose a writeback user with create and edit permissions on the target objects.
- Test the definition from the designer in debug mode.
- Launch it from a schedule-triggered flow and avoid simultaneous runs.
- Compare the expected volume with your runtime’s limits.
- Review each run in Monitor Workflow Services.
Official sources
- Data Processing Engine — Salesforce Help (opens in a new tab)
- Supported Editions for Data Processing Engine — Salesforce Help (opens in a new tab)
- Data Processing Engine Key Terms — Salesforce Help (opens in a new tab)
- Data Processing Engine Workflow — Salesforce Help (opens in a new tab)
- Data Processing Engine Runtimes — Salesforce Help (opens in a new tab)
- Prerequisites for Data Processing Engine — Salesforce Help (opens in a new tab)
- User Permissions for Data Processing Engine — Salesforce Help (opens in a new tab)
- Add Data Source Nodes to Your Definition — Salesforce Help (opens in a new tab)
- Data Processing Engine Nodes — Salesforce Help (opens in a new tab)
- Writeback Objects — Salesforce Help (opens in a new tab)
- Use Input Variables to Define Dynamic Processing Rules — Salesforce Help (opens in a new tab)
- Activate Data Processing Engine Definitions — Salesforce Help (opens in a new tab)
- Run Data Processing Engine Definitions — Salesforce Help (opens in a new tab)
- Run a Data Processing Engine Definition in Flows — Salesforce Help (opens in a new tab)
- Pause and Resume a Flow After a Data Processing Engine Definition Is Run — Salesforce Help (opens in a new tab)
- Data Processing Engine Developer Resources — Salesforce Help (opens in a new tab)
- Workflow of Data Processing Engine Definition Runs — Salesforce Help (opens in a new tab)
- Track Data Processing Engine Definition Runs in Monitor Workflow Services — Salesforce Help (opens in a new tab)
- Track Your Data Processing Engine Usage — Salesforce Help (opens in a new tab)
- Data Processing Engine Limits and Considerations — Salesforce Help (opens in a new tab)
- Data Processing Engine Best Practices — Salesforce Help (opens in a new tab)
- Process Datasets in Near Real Time with On-Demand Processing — Salesforce Help (opens in a new tab)
- On-Demand Processing Execution Limits — Salesforce Help (opens in a new tab)
- Run an On-Demand Definition — Salesforce Help (opens in a new tab)
- Share Data Processing Engine Definitions — Salesforce Help (opens in a new tab)
- Rollups — Salesforce Help (opens in a new tab)
- Example: Roll Up Financial Accounts of a Household — Salesforce Help (opens in a new tab)
- Connect and Sync Your Data to Data Pipelines — Salesforce Help (opens in a new tab)
- Output Connectors — Salesforce Help (opens in a new tab)
- Use Batch Apex — Apex Developer Guide (opens in a new tab)
- Schedule-Triggered Flows — Salesforce Help (opens in a new tab)
- Flow Limits per Org — Salesforce Help (opens in a new tab)
- Data Processing Engine and Monitor Workflow Services — Agentforce Financial Services Developer Guide (opens in a new tab)