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 runs on the CRM Analytics runtimeFlow, an invocable action or the designer launches the definition. DPE creates a Batch Job record. First it syncs the data of each source node into CRM Analytics. Then a recipe transforms the data. Finally, writeback writes the results to the objects with Bulk API 2.0. Each stage is a task of the Batch Job, visible in Monitor Workflow Services.Flow, invocable actionor designerBatch Job inMonitor WorkflowServices1. Sync ofthe sources2. Recipe thattransforms3. Writeback withBulk API 2.0New orupdated records

How a definition is built

A definition chains three kinds of nodes:

  1. Source. Selects the input data. Every definition has at least one.
  2. 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).
  3. 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.

  1. Requirements. Data Pipelines is enabled and the Record Rollup Definitions permissions are assigned, Data Pipelines Base User included.
  2. Definition. A Record Rollup Definition on Financial Account is created, with a filter that excludes closed accounts, and activated.
  3. Sync. Sync Rollup Definitions generates the DPE definition.
  4. Run. A schedule-triggered flow launches it every night.
  5. Monitoring. Every morning the Batch Job is reviewed in Monitor Workflow Services.
  6. 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

  1. Choose the runtime and turn on its requirement: Data Pipelines or Data 360.
  2. On CRM Analytics, give the Analytics Cloud Integration User read access to the source objects.
  3. Choose a writeback user with create and edit permissions on the target objects.
  4. Test the definition from the designer in debug mode.
  5. Launch it from a schedule-triggered flow and avoid simultaneous runs.
  6. Compare the expected volume with your runtime’s limits.
  7. Review each run in Monitor Workflow Services.

Official sources

Back to the knowledge base