Salesforce Fact #156 | Related contact count in flow

We can count the number of related contacts for each account in flow and display them in the screen. We can make use of the Get Records, assignment, decision and screen elements for this.

The idea is, we would fetch the records order by accountId so that we can get the same accountId records together which will help us to increment the counter.

Attached are the screenshots.















 

Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow