You are here: Data creation and management > Data type management > Importing data for a data type

Importing data for a data type

You can import a .csv file to add or update data for a data type:

  1. Click the Data icon in the Explorer panel to display the Data Explorer.
  2. You can also import data for a case type by completing the steps that you follow in this task. To view case types for data import, select Data in the Explorer panel and select Show case types from the dropdown menu at the top right of the explorer.

  3. Click the data type for which you want to import data to display it in the Data Designer.
  4. Click the Records tab.
  5. Click Import.
  6. Upload a .csv file for data import.
  7. Map the fields in your data type with the fields in the .csv file.
  8. Select Skip default data type validation in the Import records step of the import process if you want to disable the validation of the data type by using validate rules.
  9. Note: The system always does the basic type checking (string, integer, date, and so on) for imported fields. If you clear this check box, the data import process runs the default validate rule of the data type on each record that is imported, which causes the import to take a longer time. Hence, it is a best practice to clear this check box only when needed.

  10. Select Save customized field mapping as a template if you want to save the mapping between the fields in your data type and the fields in the .csv file as a template for future imports for the data type. Enter a name for the template in the field. You can use this template in the Map fields step of the data import process in future imports.
  11. Click Import. A dialog box listing the time taken for the import, the number of records created and updated, and the errors in the import is displayed.
  12. At this point, you can close the dialog box for the data import process. The process runs asynchronously and is visible on your worklist.

  13. If your data import process has errors, click Download to download a .csv file that lists the errors. The .csv file has an additional column that contains the error details for the records on each row in the file. You can fix the errors and import data again for your data type.
  14. Click Finish to return to the Data Designer and see the new and updated data for your data type.