Hi WF Fusion Community,
Sorry for posting this twice - I posted in the regular WF community, and then realized this specific Fusion community exits
I'm looking to get the sum value from a specific custom field (Amount__c) based off of one or many bundles, per program.
Example:
- There 2 Billing Records over in Salesforce associated to WF Program A. I grab this data with a Salesforce (search with query) module. See screenshot called "Get Billed Overage from SFDC".
- It pulls over the Amount field value from those Billing Records. In this example, let's say the Amount value for Billing Record #1 is 114,000, and the Amount for Billing Record #2 is 4,500. See screenshot A, attached.
- Then, I have an Iterator module that looks at the Billing Records from the above Salesforce module (search with query), and groups bundles by Salesforce Asset ID (an asset has a 1-1 relationship with a program). See attached screenshots called "Iterator" and "Iterator Results".
- From there, it hits a numeric aggregator module. See attached screenshot called "Numeric Aggregator". This is where my issue has occurred. See screenshot called "Numeric Aggregator Results". You'll see that the two input bundles are just duplicating the first value from bundle one on the iterator module. I was expecting it to sum the Amount values from both bundles on the iteratori module.
Does anyone know what my issue might be?
Thanks!
Nick
![Full scenario.png Full scenario.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51526i9DB870F4ABA9D640/image-size/large/is-moderation-mode/true?v=v2&px=999)
![Get Billed Overage from SFDC.png Get Billed Overage from SFDC.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51528iF041D54FC0B6D85E/image-size/large/is-moderation-mode/true?v=v2&px=999)
![Iterator.png Iterator.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51527i552464176BC22266/image-size/large/is-moderation-mode/true?v=v2&px=999)
![Iterator Results.png Iterator Results.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51529i690FE0F1D0C3841B/image-size/large/is-moderation-mode/true?v=v2&px=999)
![Numeric Aggregator.png Numeric Aggregator.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51530i11479926EE7B3468/image-size/large/is-moderation-mode/true?v=v2&px=999)
![Numeric Aggregator Results.png Numeric Aggregator Results.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51531i70F597B79778EE2B/image-size/large/is-moderation-mode/true?v=v2&px=999)
![Screenshot A.png Screenshot A.png](https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/51532iDD2A5DC2B1D4E0B0/image-size/large/is-moderation-mode/true?v=v2&px=999)