You can import a .csv file to add or update data for a data type.
This option is not available for Apache Cassandra databases.
When you import data into a data type, a .csv file is generated if there are any errors. The .csv file contains the error details for the records for each row in the file. You can fix the errors and reimport the data. You can change the location to which the .csv file is written using Dynamic System Settings. For example, for a multi-node system, you can set the destination to a shared location so that a user can access the file from any node in the system.
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.
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.
If you selected a template when you mapped the fields, the template name is displayed in the Name for this data import field. If you choose an existing template, the template will be replaced with the current import.
The system always does 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 longer. Hence, it is a best practice to clear this check box only when needed.
You can close the dialog box for the data import process. The process runs asynchronously and is visible on your worklist.
You can also cancel the import by clicking Stop import. The import stops when the current batch finishes processing.
It is possible for a record to pass the validation step and still have an error that is only detected during the actual import. This can occur when the schema for externally mapped tables has restrictions that are not known in the rules, for example, if the length specified for a text column does not match the length in the property rule. When this occurs, the records without errors are still imported, but performance might be affected and the error messages might be confusing because they will be generated by the database. To ensure that this situation does not occur, make the property definitions match the table's columns as closely as possible or use a validate rule that enforces the same restrictions as the schema.