Integrate the Data Processing Engine (DPE) definitions with Context Service to read data from context definitions, transform it, and write it back to a specified JSON structure for downstream processes.
Required Editions
| View supported editions. |
What is a Context Definition?
Context Definitions contain a complete set of information required to execute a particular process. Using context definitions, you can efficiently access data through every step of your app’s processes.
To see the standard definitions available in your org, in Setup, find and select Context Definitions.
You can extend, clone, or edit context definitions and simplify the sharing of business application data with other features in Context Service. See Context Service.
Business Use Case: Transform Data for Document Generation
Context Service uses the Data Processing Engine (DPE) to facilitate advanced data transformations for Document Generation (DocGen) within Salesforce Revenue Cloud. DocGen streamlines the creation of contracts, proposals, and invoices by using templates. While context definition and mapping manage the basic JSON data structure, DPE carries out complex, scalable transformations tailored to your business needs.
- Configure Context Definitions as Data Sources
Read data from a context definition into Data Processing Engine definitions to transform and pass it for downstream processing. - Configure Writeback Nodes as JSON
Configure a JSON output to send transformed context data to downstream processes in the required format and hierarchy.