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

Defer commit issue occurs while using Create Case smart shape



Defer commit issue occurs while using the Create Case smart shape after a Persist case. A temporary case persists during the case processing. A Parallel case type is created using the Create Case smart shape. However, rollback happens instead of commit while saving the actual case and the parallel case is not created.

Error Messages

java.lang.RuntimeException: pub.PRRuntimeException: Encountered database exception when committing operation <insert instance XYZ not only if new> 
at( ~[prprivate.jar:?] 

Caused by: pub.clipboard.WrongModeException: WrongMode pyWorkPage.ABC Page List data.internal.clipboard.ClipboardPropertyImpl.getStringValue()  


Steps to Reproduce

1. Create a temporary case
2. Persist the temporary case during a case processing
3. Create a parallel case using the Create Case smart shape

Root Cause

An issue in the custom application code or rules. A screen displays to capture the data where a dropdown is configured for one of the fields before a parallel case is created using the Create Case smart shape. The Clipboard page value is passed as '.ABC' (PageList property) for the dropdown. A Page type property must be passed as a value for the Clipboard page. The issue is not with the Create Case smart shape. The issue is due to the incorrect dropdown configuration.


Perform the following local-change: 
  1. Create a property of type Page
  2. Pass the property as a value for the Clipboard page through the dropdown 


Published October 17, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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