CleanUp Submitted task failed with unique constraint <schema.PK_ARCH_TASKSESSION12_5> violation.
What could be the issue?
Usually it's when you try to insert a duplicate row. It is trying to copy the task to the archive DB. But seems there is already an entry there.
Is there a way to find out which record is duplicate?
You can follow the procedure here: