Symptoms
While trying to delete a custom batch type in the project on the ABBYY FlexiCapture 12 Application Server, the error occurs:
Violation of PRIMARY KEY constraint 'PK__#<some number>'. Cannot insert duplicate key in object 'dbo.@processingStageMap'. The duplicate key value is (<some number>). in method { call BatchType_Delete(?) }
Cause
This custom batch type has script stage/s in the workflow.
Resolution
Delete script stage/s from the workflow, and after that delete the batch type.
Comments
5 comments
Samir Waikar
I tried this. There was no custom stage created or any script but still issue is occurring.
Monique Mathay
I have exactly the same error, I have no script on the workflow of the batch type (I force simple schema).
Samir Waikar
Hi Mathay,
Abbyy has resolved this issue in the latest upgrade. I upgraded and no issue now.
Thanks,
Samir
Monique Mathay
Hi,
To which version did you migrate ? We are actually in 12.0.4.734.
Regards
Samir Waikar
Yes, till .734 this was an issue. In the recent release R4 .803, Abbyy has fixed this issue.
Thanks,
Please sign in to leave a comment.