Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

ERROR: duplicate key value violates unique constraint "xtkworkflowtask_taskidentifier

Avatar

Level 2

Hi, anyone coming across this kind of error: "PGS-220000 PostgreSQL error: ERROR: duplicate key value violates unique constraint "xtkworkflowtask_taskidentifier" DETAIL: Key (itaskidentifier, iworkflowid)=(13017, 15428110) already exists"

And can help me to solve it?

Best regards

Åsa

3 Replies

Avatar

Level 10

Can you confirm which Adobe solution you are using when you receive this error?

Avatar

Level 1

I am also getting this error on a workflow that was successfully running earlier.

PGS-220000 PostgreSQL error: ERROR: duplicate key value violates unique constraint "xtkworkflowtask_taskidentifier" DETAIL: Key (itaskidentifier, iworkflowid)=(177, 19286442) already exists.

I am using Adobe Campaign Standard.

Avatar

Employee

Hey sp57570507

Try navigating to the workflow, click on Log and Tasks and Purge the History.

Try running the workflow again now.

Let us know if this works.