Salesforce Fact #812 | Repeater(Beta) component in screen flow

In Spring'24 release, we have the new Repeater(Beta) component introduced in screen flow builder. The input components inside the repeater component are tracked using the AllItems attribute.

So, in order to get the length of the repeater collection, we need to iterate over the AllItems list and count its length, since the equals count operator is not supported yet to get the collection length.

Reference: https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_screencmp_repeater.htm&type=5

Attached are the screenshots.








Output:




Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

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