When you import data with FileNet® Deployment Manager, some data validation exceptions can occur. Review the data errors to determine the root cause and most effective remediation steps.
Content Platform Engine allows the removal of a choice list element even if the existing instance data contains the choice list element value. A subsequent import action on the instance data that contains the deleted choice list value shows an exception. The exception occurs because the choice list definition no longer contains that element.
When data integrity issues occur during the migration of data, a pre-save import script can help resolve those issues. The pre-save import script can run on each object in the converted deployment data set before that object is saved in the destination object store. The pre-save import script can be constructed to detect when the object has the data integrity issue. The script can then modify the object to correct the issue before the object is imported.
For example, an object might have data integrity exceptions after the import of instance data with a deleted choice list element. One workaround for this problem is to use a pre-save import script. With the script, the object instances with the invalid value can be modified so that a valid choice list value is available for the import. The script must have logic to determine what a valid value is for that choice list.