Support Article

Blank error with optimistic locking on clicking Next button



Case is configured to use optimistic locking. Blank error occurs in the screen flow in the below scenarios:
user is seeing empty error when case is updated in parallel.

Scenario 1:
A user, for example user1, works on a case and is in the second step of the screen flow. Another user, for example user2, opens the same case and proceeds to the second screen and clicks Next to navigate to the next step. Subsequently, when user1 clicks Next, blank error occurs.

Scenario 2:
When a case has case level SLA. User creates a case and is in some step of the screen flow. At the background, the SLA agent updates the SLA. When user clicks the Next button in screen flow, blank error occurs.

Error Messages

Not Applicable.

Steps to Reproduce

  1. Configure cases to have optimistic locking
  2. Create a screen flow with more assignments
  3. Create a case as user1 > click Next to complete the current assignment > Navigate to the second assignment
  4. Open the same case as user2 > Open the pending assignment > click Next to complete the second assignment > Proceed to third assignment > Click Next

Root Cause

This is as per Pega Product design. Screen flows should be worked upon by only one user. Hence, Pega provides routing option only in the Start shape and not on individual assignments.


Perform the following local-change: 
  1. Save-as the Tabbedscreenflow7 harness in the custom ruleset
  2. Add the pzShowConflicts section in the Tabbedscreenflow7 harness
  3. Set the visibility condition as param.ShowConflict=='true'


Published October 8, 2020

Have a question? Get answers now.

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