Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Cannot submit a request due to error during commit.



When creating a work object, if during the creation activity sequence there is an attempt to perform an Obj-Open on an object which may or may not exist, that error will prevent the subsequent commit from competing successfully even if the object targeted to be opened is not critical to the creation process.

Error Messages

•pyCommitError:** Database save using an insert failed

Steps to Reproduce

  1. Create a custom activity which performs all the necessary steps for creating a work object but also contains an Obj-Open method to populate certain not critical elements of the new work object.
  2. Launch the flow coupled to the custom activity and observe the creation and subsequent commit fails.

Root Cause

An issue in the custom application code or rules. The error spawned in the failed Obj-Open method propagates to the commit and prevents successful completion.


Perform the following local-change: 

Following the non-critical Obj-Open method call insert a call to Activity-Clear-Status to reset the activity failure status upon error.



Suggest Edit

Published October 21, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us