After you turn on traceability, set up invocable actions and Data Processing Engine definitions to process trace records.
Required Editions
| Available in: Lightning Experience in Enterprise, Performance, Unlimited, and Developer Editions with Loyalty Management - Growth or Loyalty Management - Advanced. |
Fixed-Duration Currencies
Based on your enabled settings, run the set of Data Processing Engine jobs and invocable actions in the specified sequence to process trace records.
| Traceability Setting | When Consolidate Member Points for Expiration Is On | When Consolidate Member Points for Expiration Is Off |
|---|---|---|
| Only Point Tracing for Fixed Duration Currencies is Enabled |
|
|
| Asynchronous Point Tracing for Fixed Duration Currencies is Enabled |
|
|
Activity-Based Currencies
When you enable Asynchronous Point Tracing for Activity-Based Currencies, run the invocable action and Data Processing Engine definitions in the specified sequence to process trace records.
- Run the Map Traceable Points for Redemption Transactions invocable action.
-
If you’re using expiration by using grace periods, clone the Expire Activity Non-Qualifying Points with Traceability and Grace Periods Data Processing Engine template, and run the definition.
If you’re not using expiration extensions, then clone the Expire Activity Non-Qualifying Points with Traceability Loyalty Ledgers Data Processing Engine template, and run the definition.
- Clone the Map Expiry Ledgers to Credit Ledgers for Traceable Currencies Data Processing Engine template, and run the definition.
Examples of How to Set Up Definitions and Invocable Actions
If you’re using synchronous tracing, use the prebuilt Data Processing Engine definition templates to create the definitions for processing trace records. Then, schedule the Data Processing Engine jobs.
If you’re using asynchronous tracing, you can run the Data Processing Engine jobs and invocable actions in near real time or at regular intervals.
- To schedule the jobs and invocable actions to run at regular intervals, create and schedule batch jobs. See Run Data Processing Engine Definitions.
- To process trace records in near real time, publish platform events when a pending trace ledger is created. Then, create a subscriber that listens to these events and runs the invocable actions and Data Processing Engine jobs. See Platform Events Developer Guide and Agentforce 360 Platform Events Basics.
After you enable traceability and set up Data Processing Engine definitions, enable ledger tracing for currencies and create currency subtypes.