"A duplicate key violation has occurred" errors when trying to import workpoint.zip using archive.bat. When designer.bat is used for import, the error is the same. IdCheck says that no errors were detected.
When importing Workpoint definition from another Workpoint server, following situations are possible.
Identity Manager 14.x
Best Practices steps to modify Workpoint process are:
Import the modified Workpoint definitions into the Production environment System
You should be then able to use the "overwrite existing objects" option which assumes the both Workpoint servers (the one used to create/modify the workflow definitions and the one which will be updated by the importation) have initially the exact same Workflow process definitions. (situation 2 previously explained).
However it is important when importing the modified Workpoint definitions into the Production environment System (step 5) that there is no pending Jobs related to the modified Workpoint process.
Depending on the modification, changing Workpoint process definition "on the fly" for running job could cause unexpected behavior.
Quick workaround that can be done (Backup your databases before touching them)
Backup WP_SCRIPT_LINE table.