Performing a Copy Template feature Maintenance -> Domain-Specific -> Workflows the SQL insert error is raised.
1. Go to Maintenance | Domain specific | Workflow, highlight the Workflow you want to take a copy
2. Click Copy Template letting all field with default values coming from the selected workflow and just to add in the last field the description of the new workflow copy then click OK.
This return error:
Violation on Primary Key Constraint 'wrkflw_defn_PK1'. Cannot insert duplicate key in the object 'STAT.wrkflw_defn'. The duplicate key value is (13).