# Test Environment Setup

### Test Environment Setup: Overview <a href="#test-environment-setup-overview" id="test-environment-setup-overview"></a>

The test environment in ARM supports convenient data transfer from CSV files to destination sandboxes and helps reduce job execution time. This is particularly useful for validating data migration scenarios prior to full execution.

***

### Create a New Test Environment Setup <a href="#create-a-new-test-environment-setup" id="create-a-new-test-environment-setup"></a>

1. Navigate to the **DataLoader** module and select **DataLoader Test Environment Setup**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FRr9CApaZWBocw3DF1cSX%2Fimage.png?alt=media&#x26;token=5ff9940c-3338-40ce-8dd2-b37e8484f318" alt="Navigation to Data Loader Test Environment Setup module" width="332"><figcaption></figcaption></figure>

2. Click on **Create New Job**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FYLxtz5h2PQULoFb5JHNd%2Fimage.png?alt=media&#x26;token=a52a369e-f457-44ac-a330-3e325a8d0af0" alt="Button to initiate a new test environment job"><figcaption></figcaption></figure>

3. Select your **Destination Org**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FXvLgpdM136TienFpa7ji%2Fimage.png?alt=media&#x26;token=8af42d3b-94fc-4fa0-8e3e-f486dc008c43" alt="Dropdown to select destination Salesforce org"><figcaption></figcaption></figure>

4. Click **Login and Fetch Objects** to display all objects from the destination org.
5. Choose a **Master Object** from the list.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FC8hZVjxwF1QRGopvNRV6%2Fimage.png?alt=media&#x26;token=60ddede4-8065-4263-9db7-333dc54643ba" alt="Master object selection screen"><figcaption></figcaption></figure>

6. Click the **Show Dependencies** icon to view hierarchical relationships with parent objects.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F0lx5yYDUOslauAZIOzz8%2Fimage.png?alt=media&#x26;token=49091b5d-782e-4b39-9a06-e2bf1f6146e1" alt="Dependency analysis button for the selected object"><figcaption></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FWcEAbqa4U11hzdZ9PnRu%2Fimage.png?alt=media&#x26;token=bd9df7d9-56e3-46b4-8b2c-117e323851cd" alt="Text-based dependency relationship view" width="342"><figcaption></figcaption></figure>

7. Use **Switch to Graph View** to see a visual hierarchy.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F0Oua2AwMewcaycEEG5rW%2Fimage.png?alt=media&#x26;token=244d7ca3-2e30-4ad4-b37d-f66fbbb69637" alt="Graphical representation of object dependencies" width="395"><figcaption></figcaption></figure>

8. Under **Source of Data**, upload a `.zip` file containing the object-specific `.csv` files.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FVnt89xgn3T1qTYvXFW9r%2Fimage.png?alt=media&#x26;token=1b92839f-ff24-4db0-b2ca-edd302e1d831" alt="Upload interface for CSV zip files"><figcaption></figcaption></figure>

{% hint style="info" %}
**Important Note:** The `.csv` file name must match the object’s API name. Uploading CSVs for parent objects is optional, but required if you want their records migrated too.
{% endhint %}

9. Provide a **Name** for the job and choose a **Job Group** to categorize it.
10. The **Master Object** and **External ID** will auto-populate.
11. Click **Save**.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FhBpPuEgpPABU41dUTXPL%2Fimage.png?alt=media&#x26;token=867978fb-694f-44bd-bd4d-2a3cf9440d07" alt="Test environment setup form with master object details"><figcaption></figcaption></figure>

12. You’ll be redirected to the **Test Environment Setup Summary** page.
13. Click **Run** to initiate the data migration job.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FJK9xgEWSlyGiVXNlD4CT%2Fimage.png?alt=media&#x26;token=63dd27d6-f888-498b-b945-5e326823749d" alt="Job summary page showing list of configurations and run option"><figcaption></figcaption></figure>

***

### Deployment Criteria Options

| Configurations               | Descriptions                                                                                                                                                                                                               |
| ---------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Disable Workflows**        | Temporarily disables Salesforce workflows during migration, and re-enables them afterward.                                                                                                                                 |
| **Disable Validation Rules** | Turns off validation rules to allow data migration. Rules are restored once the migration is complete.                                                                                                                     |
| **Use Bulk API**             | Uses Salesforce Bulk API to increase performance for large data volumes. Jobs can be processed in **serial** (one after another) or **parallel** (simultaneously). For faster data throughput, parallel mode is preferred. |

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2F7c6iL3hu5vLc724L5HDE%2Fimage.png?alt=media&#x26;token=51b30a27-0a6f-4ec0-b9e2-6f22d1c45e96" alt="UI for selecting workflow, validation, and Bulk API options" width="473"><figcaption></figcaption></figure>

14. Click **Run** to execute the job.

***

### More Options <a href="#more-options" id="more-options"></a>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2Fokq4EZv55tRhJFKuTttu%2Fimage.png?alt=media&#x26;token=f549a45c-3513-44af-891a-32a01b713f38" alt="Action menu with edit, delete, clone, and log options"><figcaption></figcaption></figure>

1. **Edit:** Modify job settings.
2. **Delete:** Remove a job setup.
3. **Clone:** Create a duplicate of the configuration.
4. **Log:** View execution history and status.

***

### Schema (Grid View) <a href="#schema-grid-view" id="schema-grid-view"></a>

This section visualizes the master object schema and its dependencies. When validation or workflow rules are disabled, ARM displays these rules under the **VR/WFR** section. You can review and re-enable them manually if necessary.

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FEbsIPWXGpFCd5IxLzKII%2Fimage.png?alt=media&#x26;token=31ced2dc-85cf-42e4-9906-de5c257290d3" alt="Grid view showing object schema and relationship"><figcaption></figcaption></figure>

<figure><img src="https://1912836914-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9vAxMuDrkUkB4OXlH9CL%2Fuploads%2FHSaszxKCQq4y5rBiX7wC%2Fimage.png?alt=media&#x26;token=3901ea8c-7cbd-4a23-b364-1d4a9837c465" alt="Section listing validation and workflow rules for review"><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/arm/arm-features/dataloader/test-environment-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
