How to Use Collection Filter in Salesforce Flow (Video 5:01)

  • Using ‘Collection Filter’ in Salesforce Flow, you can apply filter criteria to a collection and create a new collection with a subset of records.

  • With a collection filter, you don’t need to:

    • Use multiple ‘Get Records’ elements with different filter conditions.

    • Or use a loop to scan the records and check for the filter condition.

  • In this video, we will:

    • Get all Case records from the Salesforce database.

    • Apply a collection filter to filter for open and closed cases.

    • Store the count of records in two separate resources.