Data Sync Node
Overview
The Data Sync Node synchronizes data from a source database table to a target database table within an offline development task. You can configure source and target tables, filter conditions, field mappings, update modes, and runtime parameters.
Prerequisites
Before using a Data Sync Node, configure the source and target data connections and obtain permission to use the corresponding data accounts. Regular users can select only accounts they have permission to use.
Node Configuration
Add a Data Sync Node
-
Go to Data Development > Offline Dev and create or edit an offline development task.
-
Drag the Data Sync node from the node list on the left onto the canvas, then select it.

-
Click Please configure next to Data Sync to open the synchronization configuration page.
Select Tables
Under Table Selection, configure the source table, target table, and update mode.

1. Configure the source table
| Setting | Description |
|---|---|
| Source Account Type | Select the account type for the source database. |
| Source Data Account | Select the source data account. Regular users can select only accounts they have permission to use. |
| Source Table | Select the table to synchronize. |
| Filter Condition | Optional. If no conditions are configured, all source data is synchronized. To filter source data, click Edit Rule next to Filter Condition and enter the conditions. You can insert global parameters, task parameters, dynamic parameters, and time macros. Click Preview to check the results. The system displays the first 30 rows based on the selected source table and filter conditions. |

2. Configure the target table
| Setting | Description |
|---|---|
| Target Account Type | Select the account type for the target database. |
| Target Data Account | Select the target data account. Regular users can select only accounts they have permission to use. |
| Target Table | Select an existing table to receive the synchronized data. If the table does not exist, create it using the steps below. |
Create a target table
- In Table Selection, select Target Account Type and Target Data Account.
- Click Create Table next to Target Table to open Execute Create Table.
- Enter the table name, then click Generate SQL below the table parameters to generate the
CREATE TABLEstatement. - Review or edit the generated SQL, then click Execute Create Table in the lower-right corner to create the table in the selected database.
- After creation succeeds, use the new table as Target Table for this synchronization.
3. Select an update mode
Choose how to write data to the target table:
- Append: Keep existing data in the target table and append the data from this synchronization.
- Full Update: Clear existing data from the target table, then write the data from this synchronization.
- Upsert: Match source and target rows using comparison fields. Update matching rows in the target table and append rows that do not match. For this mode, select at least one field under Comparison Fields.

4. Proceed to field mapping
Click Next to open the field-mapping step.
Configure Field Mapping
To reach this step, open Data Development > Offline Dev, edit the task, select its Data Sync node, and click Please configure. Complete Table Selection, including the source table, target table, and update mode, then click Next.
The system generates the mapping list from the source table structure and maps source and target fields with the same name first.
- Review the source field, source field type, target field, target field type, and mapping status for each row.
- To match fields by name again, click Map by Name.
- For each source field that was not mapped automatically, find its row and select the corresponding target field. Source fields that do not need to be synchronized can remain unmapped.
- Check the field names, field types, and mapping status. Ensure that at least one field mapping exists, then click Next to open Advanced Config.
Configure Advanced Parameters
Under Advanced Config, configure concurrent reads and custom parameters for reading and writing data.
| Setting | When to configure | Description |
|---|---|---|
| Concurrent Read | Enable as needed | Choose whether to read source data concurrently. When enabled, configure Parallelism and Split Mode. |
| Parallelism | Required when Concurrent Read is enabled | Set the number of concurrent reads. |
| Split Mode | Required when Concurrent Read is enabled | Auto Split splits data using the source table's primary key or unique key by default. For Custom Split, select a split field manually. |
| Split Column | Required only for Custom Split | Select a field from the source table to split the data. This setting is not required for Auto Split. |
| Custom Parameters > Data Source | Optional, regardless of the split method | Click Add Parameter to configure custom parameters for reading data. Leave this unconfigured if no custom parameters are needed. |
| Custom Parameters > Data Target | Optional, regardless of the split method | Click Add Parameter to configure custom parameters for writing data. Leave this unconfigured if no custom parameters are needed. |

Complete Configuration
After configuring the advanced parameters, click Finish Config. The system validates the configuration and saves the Data Sync Node.
Runtime Options
- Run Flag
- Disable execution to skip this node when the workflow reaches it. Use this option for temporary troubleshooting or to control which parts of a task run.
- Normal: Run the node according to the existing scheduling strategy. This is the default.
- Retry on Failure
- Retry Times: The number of automatic retries after the node fails. The default is 1.
- Retry Interval (minutes): The interval between retries. The default is 5 minutes.
- Timeout Threshold
- Timeout(minutes): The time limit for a single node. The node fails automatically if it exceeds this limit.

View Run Logs
After the task runs, open the workflow instance and select the Data Sync Node. View the results under Running Log at the bottom of the page.

