---
title: "SynchronizeTask"
description: "Retrieves the files generated by the prepare-synchronization task to insert the data into the Usercube database."
sidebar_position: 22
---

Retrieves the files generated by the [prepare-synchronization](../../../../../../configuration/synchronization/upward-data-sync.md) to insert the data into the Identity Manager database.

For more information on how the Synchronization works, see [Sync Up](../../../../../../configuration/synchronization/upward-data-sync.md).

:::warning
Collection must be done by the [PrepareSynchronizationTask](../agent/preparesynchronizationtask.md).
:::

## Examples
```xml
  <SynchronizeTask Identifier="HR_Synchronization" Connector="HR" DisplayName_L1="HR Synchro"/>
```


## Properties

|Property|Details|
|---|---|
| Connector required | **Type:** String **Description:** Identifier of the connector involved in the task. |
| DisplayName_L1 required | **Type:** String **Description:** Display name of the task in language 1 (up to 16). |
| DoNotDeleteChanges <span class="optionalAttribute">default value: false</span> | **Type:** Boolean **Description:** Don't delete change in the change tables. |
| ForceSynchronization <span class="optionalAttribute">default value: false</span> | **Type:** Boolean **Description:** Force the synchronization |
| Identifier optional | **Type:** String **Description:** Unique identifier of the task. |
| Orphans <span class="optionalAttribute">default value: false</span> | **Type:** Boolean **Description:** Save orphans in a CSV output file |
| Type <span class="optionalAttribute">default value: None</span> | **Type:** PrepareSynchronizationType **Description:** Define type of prepare synchronization. |

