# nCino Compare

## Introduction

The compare and selective deployment functionality allows you to perform comparisons across datasets and objects between different Salesforce orgs or version control repositories. You can then promote selected records to target environments.

## Overview

1. Perform Org-to-Org or Org-to-Version Control (VC) comparisons.
2. Run relational comparisons on initial datasets.
3. Select individual records at any comparison level.
4. Save selections and continue comparing or proceed to deployment.
5. Finalize deployment using the **Save and Deploy** option.
6. Review selected records on the Object Summary screen and initiate RBC deployments.

## Step-by-Step Guide

### Initiating Compare Operation

#### Feature Deployment – Template & Version Control

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FWzxS8ul4jAsoLi1DHfdy%2Fimage.png?alt=media&#x26;token=087a3c40-8dd3-4272-aa49-9fb349c6e03d" alt="Retrieve Dataset option from Template or Version Control"><figcaption><p>Retrieve Dataset option from Template or Version Control</p></figcaption></figure>

1. Select “Template” or “Version Control” to reveal the **Retrieve Dataset** option.
2. Clicking it redirects to the **Deployment History** page.
3. On that page, use **View Dataset** to open the dataset.

#### Feature Deployment – Using Salesforce Org

1. Select **Template Using Salesforce Org** or **VC Using Salesforce Org** to see **Create Dataset**.
2. Click **Create Dataset** to start a comparison.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2Fl4JikJVPuZjCHJbhyhsy%2Fimage.png?alt=media&#x26;token=a12bdd73-c4b1-4c12-a418-ce916433681d" alt="Create Dataset option using Salesforce Org" width="375"><figcaption><p>Create Dataset option using Salesforce Org</p></figcaption></figure>

### Perform Compare

1. Open the deployment and click **Compare**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2Fxsp9T4zko1ZCl4pbcj26%2Fimage.png?alt=media&#x26;token=78884a6a-992c-4b03-92d0-b2f803139227" alt="Compare button inside deployment view" width="375"><figcaption><p>Compare button inside deployment view</p></figcaption></figure>

2. Choose the type of comparison:
   * **Org-to-Org** (select **Salesforce Org**)
   * **Org-to-VC** (select **Version Control**)

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FH71FAhIXn7aKqGOOmPrT%2Fimage.png?alt=media&#x26;token=03e00638-9871-4345-a149-1bb9baa73753" alt="Org-to-Org comparison selection" width="375"><figcaption><p>Org-to-Org comparison selection</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FSXiNeaQouZw9vxcpDarZ%2Fimage.png?alt=media&#x26;token=f91fe216-2250-456b-a2d4-a54a13ed89b0" alt="Org-to-VC comparison selection" width="375"><figcaption><p>Org-to-VC comparison selection</p></figcaption></figure>

### Compare Results

1. View differences highlighted in yellow (for changed destination values).
2. Configure comparison using:
   * Destination
   * Feature Name
   * Object
   * Unique ID
   * Exclude From Compare

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FnuSNEUzY2IZmhNSwbJWI%2Fimage.png?alt=media&#x26;token=d51b3257-4100-4165-8ba0-5bd21f3806e6" alt="Comparison fields and options" width="375"><figcaption><p>Comparison fields and options</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FRjwF0ryrXHThqtYGtlwY%2Fimage.png?alt=media&#x26;token=689e8e04-f35f-4fee-9849-6d90405fd7c0" alt="Compare results with yellow highlights" width="375"><figcaption><p>Compare results with yellow highlights</p></figcaption></figure>

3. Exclude fields from comparison (shown in light gray).
4. Use **Select** to choose current page or all records.
5. Use **Search by Field** to filter results.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FOf1a2gtPfJCge9dq0XiE%2Fimage.png?alt=media&#x26;token=189f4413-041b-414a-97cd-233a77bfbbb4" alt="Export and field selection options" width="375"><figcaption><p>Export and field selection options</p></figcaption></figure>

6. **Change View** to select which fields to show (max 25).

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FDh6OG2ndT9CAS7SAzJcs%2Fimage.png?alt=media&#x26;token=f61e8deb-b688-42a7-9db2-582899992352" alt="Change view to customize field display" width="375"><figcaption><p>Change view to customize field display</p></figcaption></figure>

7. Click **View Record** to compare source vs destination values.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FVVALgJ9ETjqZsLLL2yO1%2Fimage.png?alt=media&#x26;token=30e633d2-4672-4515-ae41-e0494a9d198b" alt="View Record button for detailed comparison" width="375"><figcaption><p>View Record button for detailed comparison</p></figcaption></figure>

8. Use **Save and Continue** or **Save and Deploy** to proceed.

> **Note:** Record counts are shown on the Object Summary screen before deployment.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FSuZBi334PFtfONZgEcP3%2Fimage.png?alt=media&#x26;token=0d0e4fa2-726c-432a-81d3-5fda47f19d5b" alt="Object Summary screen after Save and Deploy" width="375"><figcaption><p>Object Summary screen after Save and Deploy</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FImitnByE7wJuWDKxRoJf%2Fimage.png?alt=media&#x26;token=a6a3c62b-2076-4e48-90e7-43dc67ed53d8" alt="Iteration staging page before deployment" width="375"><figcaption><p>Iteration staging page before deployment</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F6K1moIlipUPkZOkbabmd%2Fimage.png?alt=media&#x26;token=0712a94c-efd9-4afd-b5a9-7f6e891a7a70" alt="Popup showing selected records" width="375"><figcaption><p>Popup showing selected records</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FKuoEcVONc0A2MyiFw7ig%2Fimage.png?alt=media&#x26;token=7f746485-bf45-4019-9619-f2460a96912d" alt="Deploy confirmation screen" width="375"><figcaption><p>Deploy confirmation screen</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F6eRqfyLuKLH6H1NmYlwp%2Fimage.png?alt=media&#x26;token=70c91440-9a29-4f31-b961-e92feb2860ff" alt="Success and failure record summary" width="375"><figcaption><p>Success and failure record summary</p></figcaption></figure>

***

## Relational Compare - Global & Record-Level

### Global Relational Compare

Performs a full compare to identify parent/child records related to selected objects.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FSoIHmw71k06hkv2so4lj%2Fimage.png?alt=media&#x26;token=f7532e4a-9d9b-4104-b4fd-df2a3fb8def0" alt="Relational compare initiation for related records" width="375"><figcaption><p>Relational compare initiation for related records</p></figcaption></figure>

1. Choose parent/child object and Unique ID.
2. Select fields to exclude and click **Compare**.

### Record-Level Relational Compare

Compares one record at a time and lets you drill down further.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FLlZlCXwD7aqy7fJs2Pqw%2Fimage.png?alt=media&#x26;token=5803242a-ad7a-4313-b325-de5f5dd01b56" alt="Record-level relational compare icon" width="375"><figcaption><p>Record-level relational compare icon</p></figcaption></figure>

* Supports multiple levels of nested comparison:
  * Level 1, 2, 3, etc.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F3uDCFlKMwsNmFO39dRe0%2Fimage.png?alt=media&#x26;token=d3bce546-ee6f-47a0-83fe-092bc1000de8" alt="Record-level comparison level 1" width="375"><figcaption><p>Record-level comparison level 1</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FGqJ5Fa1E7zq7YbEJlTOW%2Fimage.png?alt=media&#x26;token=223a762e-7e11-4578-b78f-9ae3ec00cc88" alt="Record-level comparison level 2" width="375"><figcaption><p>Record-level comparison level 2</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FpJeK4vXwZzgxwt87tZv1%2Fimage.png?alt=media&#x26;token=06993519-8118-4fa8-a642-6ebe41cb2048" alt="Record-level with nested relational compare" width="375"><figcaption><p>Record-level with nested relational compare</p></figcaption></figure>

* Continue record selection:

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FoQbPUadFwDcd1Lh3KdKM%2Fimage.png?alt=media&#x26;token=0f883e27-2e93-4b7a-a4ac-3567a73de66a" alt="Record selection after relational comparison" width="375"><figcaption><p>Record selection after relational comparison</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FoVRQNmsXu9ueL0aSR9Lf%2Fimage.png?alt=media&#x26;token=2674f58c-ce28-4ddb-a7ed-714f59a9be0a" alt="Parent and child record listing" width="375"><figcaption><p>Parent and child record listing</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FaEPDDNSgFVWDbaLP8gEV%2Fimage.png?alt=media&#x26;token=5f70dfa3-81cb-4c8f-aee5-c2870012d09d" alt="Additional relational records selected" width="375"><figcaption><p>Additional relational records selected</p></figcaption></figure>

* Choose:
  * **Save and Continue** – Save and proceed.
  * **Save and Deploy** – Go to deployment screen.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FRe3rhHPw8YRgGKPMTxIt%2Fimage.png?alt=media&#x26;token=c2a80026-18ff-4871-993b-0357c861e537" alt="Object Summary screen before final deployment" width="375"><figcaption><p>Object Summary screen before final deployment</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FOaMAv1WoQj1wFnv96zL6%2Fimage.png?alt=media&#x26;token=9d82d92a-e414-47cc-bb6f-1233e01fe9b0" alt="Selected records visible for deployment" width="375"><figcaption><p>Selected records visible for deployment</p></figcaption></figure>

* View selected records:

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F7lbuvlPhPsvHFQzkzkeD%2Fimage.png?alt=media&#x26;token=6badad8a-8b2f-4678-a765-5c9131801ce4" alt="Popup of selected records before deployment" width="375"><figcaption><p>Popup of selected records before deployment</p></figcaption></figure>

* After deployment:

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2Fl0w7Wtfy5dpSLgYOH2Wb%2Fimage.png?alt=media&#x26;token=50b0faa1-2ba2-4518-9777-7ddde7e44965" alt="Deployment staging confirmation" width="375"><figcaption><p>Deployment staging confirmation</p></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F1QsTOA1PAWGTUHUNI5lB%2Fimage.png?alt=media&#x26;token=c1eea338-2b76-499a-b4bb-9874be42381d" alt="Final deployment result with status" width="375"><figcaption><p>Final deployment result with status</p></figcaption></figure>
