---
schema_version: "1"
id: 5274dbd02e3c4013570639f1ae81ed4befd7177fc0a50ba0ae40d9e5e35f1596
title: Data Processing Engine Definitions for Loyalty Management
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/data_processing_engine_jobs.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.data_processing_engine_jobs.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cb95ba5d9c63e192b4ad8ccf4f1a4f89f2893bdb6ef8aafbcb36636c456d470f
description: Loyalty App provides out-of-the-box templates that can process high-volume jobs. These templates help calculate the point balance, reset qualifying points, and expire points for your loyalty program members. The out-of-the-box job templates are enabled through Data Processing Engine.
products:
  - Loyalty Management
release: "264"
---
# Data Processing Engine Definitions for Loyalty Management

Loyalty App provides out-of-the-box templates that can process high-volume jobs. These templates help calculate the point balance, reset qualifying points, and expire points for your loyalty program members. The out-of-the-box job templates are enabled through Data Processing Engine.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in&nbsp;<strong>Enterprise</strong>,&nbsp;<strong>Performance</strong>, <strong>Developer</strong>, and&nbsp;<strong>Unlimited</strong>&nbsp;Editions that have Loyalty Management enabled</td></tr></tbody></table>

## What is DPE?

Orchestrate large-scale data transformations and write results back to Salesforce as new or updated records without custom code. Use Data Processing Engine definitions to unify data from diverse sources and apply complex logic—such as joins, filters, and formulas—through an intuitive, zero-code interface.

Automate high-volume transformations by running definitions as part of a business process from flows, from external systems using REST API, or by directly from the Data Processing Engine builder. Use Monitor Workflow Services to track definition runs, analyze results, and troubleshoot issues.

To suit your business needs, customize existing definitions or create your own.

- **[Point Balance Calculation](https://help.salesforce.com/s/articleView?id=xcloud.point_balance_calculation.htm&release=264.0.0&type=5)**  
    The point balance calculation job calculates and updates a member’s point balance by aggregating the points for all qualifying and non-qualifying currencies credited to the member since the job was last run.
- **[Point Expiration Calculation](https://help.salesforce.com/s/articleView?id=xcloud.point_expiration_calculation.htm&release=264.0.0&type=5)**  
    The point expiration calculation job quantifies and expires non-qualifying points for members based on the expiration date on the ledger or the member’s last activity date.
- **[Roll Over Escrow Points to Members](https://help.salesforce.com/s/articleView?id=xcloud.escrow_rollover_dpe.htm&release=264.0.0&type=5)**  
    The Roll Over Escrow Points to Members template definition automates the process of moving members' points in escrow to the members' points balance. This definition rolls over the points for all the currencies associated with a loyalty program.
- **[Reset Qualifying Points](https://help.salesforce.com/s/articleView?id=xcloud.reset_qualifying_points.htm&release=264.0.0&type=5)**  
    The Reset Qualifying Points Data Processing Engine definition calculates and resets the qualifying points balance to zero for members based on the tier model.
- **[Validate Partners and Partner Products in Transaction Journals](https://help.salesforce.com/s/articleView?id=xcloud.loyalty_dpe_validate_partners.htm&release=264.0.0&type=5)**  
    This job validates the partners and partner products in Transaction Journal records.
- **[Create Partner Ledgers and Update Partner Balances](https://help.salesforce.com/s/articleView?id=xcloud.create_partner_ledgers_and_update_partner_balances_dpe.htm&release=264.0.0&type=5)**  
    The Create Partner Ledgers and Update Partner Balances job calculates and updates partner points for prepaid billing or balance amount for postpaid billing. The definition also creates credit and debit ledgers for partners.
- **[Clone the Template Data Processing Engine Definitions](https://help.salesforce.com/s/articleView?id=xcloud.use_job_template.htm&release=264.0.0&type=5)**  
    Loyalty Management provides a set of template Data Processing Engine definitions that can be used to automate processes for your loyalty program. Admins can clone these templates and customize them based on your loyalty program’s requirements. After the cloned definition is modified and activated, it’s available in the Flow Builder as an action. Use the action to run the definition at your required frequency.
- **[Expire Non-Qualifying Points Using Traceability Loyalty Ledgers](https://help.salesforce.com/s/articleView?id=xcloud.loyalty_expire_nqp_traceability_ledgers.htm&release=264.0.0&type=5)**  
    The Expire Non-Qualifying Points Using Traceability Loyalty Ledgers job expires non-qualifying points that are traced by using traceability loyalty ledgers.
- **[Map Expiry Ledgers to Credit Ledgers for Traceable Currencies](https://help.salesforce.com/s/articleView?id=xcloud.loyalty_map_expiry_ledger_credit_ledger.htm&release=264.0.0&type=5)**  
    Maps Expiry type loyalty ledgers to their corresponding Credit type loyalty ledgers for non-qualifying currencies that are traceable.

#### See Also

- [Data Processing Engine](https://help.salesforce.com/s/articleView?id=ind.dpe_intro.htm&language=en_US)