Issue
When a catalog item is submitted from the platform it displays unique key violation error on the order confirmation page. REQ record gets created successfully.
Cause
The workflow defined on 'sc_request' table has a 'Run Script' activity that contains current.update() statement.
Resolution
When current.update() statement is removed from the 'Run Script' activity, the Unique Key Violation Error no longer appears on the order confirmation page.