# Entities to Csv Migration

The "Entities to Csv Migration" option is used for migrating data from a source to a folder of CSV files. &#x20;

To perform "Entities to Csv Migration" using the appRules Data Migration Engine, drag-and-drop the MigrateData workflow activity from the toolbox on to the designer and configure as follows:

1. Enter a display name and description for the workflow activity or accept the defaults.
2. Select "Entities to Csv Migration" as the Data Migration Type.
3. Select the Default Source.  If the Source data source does not exist, you can use the New Data Source button to add it.

<figure><img src="/files/Urv4tfbciqGrwcBOVkxB" alt=""><figcaption></figcaption></figure>

Click the OK button to accept the entries and continue.

The following modal will be displayed:

<figure><img src="/files/ekd2VObub5yOHdULyxgX" alt=""><figcaption></figcaption></figure>

Select the entities that will be exported to CSV.

Click the OK button to accept the entries and display the Target Entities Collection.

## Target Entities Collection

<figure><img src="/files/CIzMtiILZ2RfnKmo3kqk" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Since the Target is a CSV folder, most properties in the Target Entities Collection are auto-generated. &#x20;
{% endhint %}

Refer to the [Target Entities Collection](/apprules-r-documentation/platform-products/apprules-data-migration-engine/the-migrate-data-activity/target-entities-collection.md) section for notes on configuring the target entities.

[Run your data migration project](/apprules-r-documentation/platform/platform-features/creating-and-running-projects/running-projects.md) after configuring, reviewing, and saving the [Target Entities Collection](/apprules-r-documentation/platform-products/apprules-data-migration-engine/the-migrate-data-activity/target-entities-collection.md).

{% hint style="info" %}
The files will be created in the default output folder: ...DbFiles\[YourProjectDbName]\DataMigration\Output
{% endhint %}

{% hint style="info" %}
Review the [Batch Data Source Entities to Files ](/apprules-r-documentation/samples/sample-projects/data-migration-replication-and-synchronization/batch-data-source-entities-to-files.md)sample project to learn more about how to create  "Entities to CSV Migration" projects in appRules.
{% endhint %}


---

# 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://docs.appstrategy.com/apprules-r-documentation/platform-products/apprules-data-migration-engine/the-migrate-data-activity/entities-to-csv-migration.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.
