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

Lock on case is not released even after creating WO

SA-38215

Summary



User A creates a contact and tries to submit that contact and results that on the confirm harness.

At the same time when the user B logs in to the same portal from other browser and opens the WorkObject (WO) that is created earlier by user A, perform edit and try to submit the changes on the WO, then the error comes up saying that the work object is being modified by User A.

"WO is currently being modified by User A"


Error Messages



WO is currently being modified by User A


Steps to Reproduce



1. Create a contact from User A.
2. Create and observe the confirm harness for the contact created.
3. Login into the same portal in different browser with user B.
4. Open the contact that was created by User A, try editing and saving the same contact.
5. Observe the error on screen.

ROOT CAUSE & RESOLUTION

Ideally, if there is any assignment in confirm harness, then the user will have the lock on that particular object for specific time based on the locking mechanism specified in the case type rule either default or optimistic.

In the above case, since the user configured it as default locking, the user who is on the assignment will have lock on the work object for around 30 minutes.

Behavior of confirm harness

There will be an entry in sys_locks table for that particular user because the confirm harness displays the form details in read-only but has the user actions such as Submit and Cancel to perform which processes the assignment or case.

Therefore it acquires the lock on Confirm harness whether or not the check box "Look for an assignment after create" in the flow is checked.

But then it all depends on how the flow is configured.

Published June 30, 2017 - Updated October 8, 2020

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