Salesforce Fact #166 | Duplicate removal in flow without sort
Suppose we have a use case where we have to fetch some account records and find out the count of unique account names inside flow. We can get the count without using any collection sort element. We can simply get this by doing exists check using the loop, decision & assignment elements. We can also develop this as a subflow to make it reusable.
Attached are the screenshots.
Comments
Post a Comment