Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Channel Revenue Management
Customize Data Processing Engine Definitions to Support a Large Number of Rebate Eligibility Conditions

Customize Data Processing Engine Definitions to Support a Large Number of Rebate Eligibility Conditions

Data Processing Engine (DPE) definition runs can fail if there are multiple eligibility criteria conditions to filter transactions that qualify for member payouts. Having a large number of filter conditions in a DPE definition increases the recipe size that’s not supported by the calculation engine framework. To reduce the chances of DPE failure, use the Compute Valid Transaction Journals Per Rebate Type custom node.

Required Editions

Available in: Enterprise, Unlimited, and Developer Editions that have Rebate Management enabled.
User Permissions Needed
To customize Data Processing Engine definitions: Customize Application AND Data Pipelines Base User permission set
Note
Note

The custom node Compute Valid Transaction Journals Per Rebate Type is built into all the DPE templates of process type Rebates starting Spring ‘23.

Follow these steps if you are using an existing DPE definition that you cloned from a DPE template before the Spring ‘23 upgrade. Add the custom node to the existing definition that you’re using as the calculation definition on active rebate types.

  1. If you’re using a DPE definition that’s cloned from any of the templates other than the Year Over Year Growth Aggregate using Member template, follow these steps:
    1. In Setup, enter Data Processing in the Quick Find Box, and select Data Processing Engines.
    2. Open an active definition that you want to update.
    3. Click Deactivate.
    4. Click New Node, and select Custom as the node type.
    5. Enter Compute Valid Transaction Journals Per Rebate Type New as the name.
    6. Enter Compute_Valid_Transaction_Journals_Per_Rebate_Type_New as the API name.
      New custom node
    7. Click Save.
    8. On the Configuration tab of the new node, select industries_mfg:RebatesExpression as the custom node.
    9. Select Filter Journals For Valid Products as the source node.
    10. For the inputColumn parameter, select FilterCriteria as the input value.
    11. For the isFilterCriteria parameter, select Value as the input type.
    12. For the isFilterCriteria parameter, enter true as the input value.
    13. For the outputColumn parameter, enter IsValidForFilter as the input value.
    14. Click Done.
      Custom node parameters
    15. Click Open the left panel.
    16. Click the Filter Valid Transaction Journals For Rebate Types node.
    17. Click Configure on the node’s icon in the builder.
    18. Replace Source Node from Compute Valid Transaction Journals Per Rebate Type to Compute Valid Transaction Journals Per Rebate Type New.
    19. Select IsValidForFilter as the filter resource.
    20. Select Equals as the filter operator.
    21. Select Field as the filter type.
    22. Enter true as the filter value.
    23. Click Done.
      Filter Valid Transaction Journals For Rebate Types node
    24. Click Open the left panel.
    25. Click the formula node Compute Valid Transaction Journals Per Rebate Type.
    26. Click Configure on the node’s icon in the builder.
    27. Click Delete.
    28. Click Save.
      Compute Valid Transaction Journals Per Rebate Type formula node
    29. Click Open the left panel.
    30. Click the custom node Compute Valid Transaction Journals Per Rebate Type New.
    31. Click Edit icon.
    32. Rename the node to Compute Valid Transaction Journals Per Rebate Type.
    33. Click Continue.
    34. Click Save.
  2. If you’re using a DPE definition that’s cloned from the Year Over Year Growth Aggregate using Member template, follow these steps in addition to the previous step.
    1. Click New Node, and select Custom as the node type.
    2. Enter Compute Prior Date Valid Transaction Journals Per Rebate Type New as the name.
    3. Enter Compute_Prior_Date_Valid_Transaction_Journals_Per_Rebate_Type_New as the API name.
    4. Click Save.
      New custom node for Year-On-Year
    5. On the Configuration tab of the new node, select industries_mfg:RebatesExpression as the custom node.
    6. Select Filter Journals With Prior Period For Valid Products as the source node.
    7. For the inputColumn parameter, select FilterCriteria as the input value.
    8. For the isFilterCriteria parameter, select Value as the input type.
    9. For the isFilterCriteria parameter, enter true as the input value.
    10. For the outputColumn parameter, enter IsValidForFilter as the input value.
    11. Click Done.
      Custom node parameters for Year-On-Year Growth
    12. Click Open the left panel.
    13. Click the Filter Prior Period Valid Transaction Journals For Rebate Types node.
    14. Click Configure on the node’s icon in the builder.
    15. Replace Source Node from Compute Prior Date Valid Transaction Journals Per Rebate Type to Compute Prior Date Valid Transaction Journals Per Rebate Type New.
    16. Select IsValidForFilter as the filter resource.
    17. Select Equals as the filter operator.
    18. Select Field as the filter type.
    19. Enter true as the filter value.
    20. Click Done.
      Filter Prior Period Valid Transaction Journals For Rebate Types node
    21. Click Open the left panel.
    22. Click the formula node Compute Prior Date Valid Transaction Journals Per Rebate Type.
    23. Click Configure on the node’s icon in the builder.
    24. Click Delete.
    25. Click Save.
      Compute Prior Date Valid Transaction Journals Per Rebate Type formula node
    26. Click Open the left panel.
    27. Click the custom node Compute Prior Date Valid Transaction Journals Per Rebate Type New.
    28. Click Edit icon.
    29. Rename the node to Compute Prior Date Valid Transaction Journals Per Rebate Type.
    30. Click Continue.
    31. Click Save.

Activate the DPE definition after verifying the changes and update the required Program Rebate Type records and rebate orchestration flows to include the updated definition.

 
Loading
Salesforce Help | Article