Creating an SObject Collection Variable

An SObject Collection Variable is used to store multiple records of a particular object. You can use an SObject Collection Variable as a container in the Flow to store, update, and reference field values for records. For example, you want to store account name, billing, and shipping details for 10 accounts; in this case, you can use an SObject Collection Variable. In a similar fashion (to an SObject Variable), you can create an SObject Collection Variable.

Note

For best practices in this book, we will be using SOCV as the prefix for an SObject Collection Variable.

You can use an SObject Collection Variable with fast elements to store, update, create, and delete records in bulk.

Get Learning Salesforce Visual Workflow now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.