Errors:
pyCommitError:Error during checkRequiredLocks bean method call: code: SQLState: nested exception is: java.lang.RuntimeException: Problem during method invocation (checkRequiredLocks) Message:
In a submit button we have called an activity to save the data but I’m getting this error while trying to finish the assignments.
In the tracer please verify that you have locked the work object, there is an option in the settings to enable visibility of when Pega gets and releases the locks. You can also check locks from the work management landing page in the settings.
In your custom code have you called the commit method anywhere, such as through the commitWithErrorHandling activity or directly calling commit? This will usually release the lock, preventing any further save.