Salesforce Fact #931 | Performing aggregation using transform element
We can perform aggregation operations as well using the transform element in flow.
For this, we need to create an apex class with the AuraEnabled variables to store the aggregated value and refer the same in the transform element. This avoids the need for using loop.
In this example, we are getting the sum of number of employees across all the accounts.
Attached are the screenshots.
Comments
Post a Comment