Replies: 1 comment 2 replies
-
hmm you may need to put some logic in the calling trigger around when to run one vs the other, and set the calc mode of both to Developer. Or you can use Process Builder and call it via PB logic if you don't want to go down the editing trigger logic path. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are attempting to create a summary rollup of total Assets Under Management (AUM) in the Financial Service Cloud (FSC). We need two DLRS configurations to run that roll up to the same field on the same object. One for Household Accounts. Another for Business Accounts. After hours of tinkering, this seems impossible. Am I correct in my assessment?
Here is how we have it configured (I took additional relationship criteria out for simplicity, but DLRS appears to be ignoring any other filter I throw at it):
Household - Total AUM Primary Owner
Parent Obj: Account
Child Obj: FinServ__FinancialAccount__c
Relationship Field: FinServ__Household__c
Relationship Criteria: FinServ__Household__c != NULL
Field to Aggregate: FinServ__Balance__c
Aggregate Operation: Sum
Aggregate Result Field: FinServ__TotalAUMPrimaryOwner__c
Calculation Mode: Realtime
Business - Total AUM Primary Owner
Parent Obj: Account
Child Obj: FinServ__FinancialAccount__c
Relationship Field: FinServ__Household__c
Relationship Criteria: FinServ__Household__c = NULL
Field to Aggregate: FinServ__Balance__c
Aggregate Operation: Sum
Aggregate Result Field: FinServ__TotalAUMPrimaryOwner__c
Calculation Mode: Realtime
The above configuration has the Household AUM updated as expected, and the Business account incorrectly sets AUM to $0 and vice versa depending on which:
It appears DLRS isn't designed for multiple Summaries that Rollup to the same field on the same object. Does anyone know precisely why that is?
Note: We've explored activating and deactivating the competing DLRS configurations with the Process Builder Calculation Mode. AUMs of the Business or Household accounts were still zeroed out even after ensuring the DLRS configurations were not simultaneously active.
FYI @jasonniebauer
Beta Was this translation helpful? Give feedback.
All reactions