I was excited to see an idea I was about to post, already delivered (rare happenstance with me and Salesforce), but apparently the release notes just link to the ideas page that says it was delivered Summer 18' but no details/instructions to implement it.

Idea: Get Size of Collections in Flow

Anyone know how to get size of Collection within a Flow?


It's cleverly hidden in the section titled "Update Active Stages and Collections with New Assignment Operators" in the release notes. Basically, you can use an assignment formula to determine the size of your collection:

{!myCollectionSize} equals count {!myCollection}

And from there, you can then use that value in conditional controls, etc.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.