--- title: "Dataverse and Salesforce Multiple Records" slug: "july-2023-dataverse-and-salesforce-multiple-records" updated: 2023-07-20T04:46:38Z published: 2023-07-20T04:46:38Z canonical: "kb.easysend.io/july-2023-dataverse-and-salesforce-multiple-records" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.easysend.io/llms.txt > Use this file to discover all available pages before exploring further. # Dataverse and Salesforce Multiple Records ## Article Overview The following article describes how to use Dataverse and Salesforce for multiple records. ## Multiple Records Options (See **Figure 1** and **Figure 2**) ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1689782134620.png) **Figure 1: Select Query** Salesforce and Dynamics queries can return multiple records as objects from their output. To run additional manipulations for each field in a record, we need to rearrange them as an array. In both Salesforce and Dataverse services, when we are running the Select (1) query, under Behavior Settings we will choose Select All. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1689828295473.png) **Figure 2: Multiple Records Options** NOTETo use the Select All option you must first upgrade your environment servers to version 25.3.0 or above. ## Usage Examples (See **Table 1**) Our Dataverse/Salesforce records include the following information: **Table 1: Records** | **firstName** | **lastName** | ****Email**** | | --- | --- | --- | | Ronny | Riback | r.riback@easysend.io | | Dana | Robbins | dana@gmail.com | When using the Select All option the records will be returned in the following structure: ```javascript { [ "firstname": "Ronny", "lastname": "Riabck", "email": "r.riback@easysend.io" ], [ "firstname": "Dana", "lastname": "Robbins", "email": "dana@gmail" ] } ``` ## ## How to use the Select All Options (See **Figure 3** to **Figure 6**) 1. After choosing the Select All option, an object (1) is automatically added: ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1689783587364.png) **Figure 3: New Object** NOTEFor Salesforce the object name will be salesforceObject. 1. In the Outputs screen, we will add the rest of the fields and they will be added to the object automatically. 2. For the object we will check the is Multiple checkbox (2) and then click the + (3) to enter the Model screen. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1689784482637.png) **Figure 4: Added Object to Outputs** 1. In the Model screen, we will check the Is Array checkbox (4) and then click Ok (5). ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1689784745193.png) **Figure 5: Model Screen** 1. In the relevant digital process we will set a new object (array) with the same name. ![](https://cdn.document360.io/45e1a1b1-1964-46f1-939e-f40bde9b50fa/Images/Documentation/image-1689784920931.png) **Figure 6: Digital Process Model** Your title goes here - To read more about Salesforce two-way integration, click [here](/v1/docs/salesforce-easysend-two-way-integration). - To read more about Dataverse two-way integration, click [here](/v1/docs/dynamics-365-easysend-two-way-integration).