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

Locking error on clicking button that is configured to move case

SA-78646

Summary



Lock error occurs on clicking a button that is configured to move a case to an alternate stage.


Error Messages



Save, Delete or Commit has failed because lock "XXXX-WORK WO-999" is not held


Steps to Reproduce

  1. Create a button in a Review section with an action to execute the pxChangeStage to an alternate stage.
  2. Click the button.
     

Root Cause



The current configuration of the button used the below action:

Refresh Harness > pxChangeStage

This configuration does not work since the work object is not locked when the stage is changed.



Resolution



Perform the following local-change:

Configure the button to perform the below steps: 
  1. Lock the work object.
  2. Change the stage.
  3. Commit the work object change.
  4. Refresh the harness. 

Published August 19, 2019 - 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.

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