Support Article
Screenflow Back buttons do not check lock on Optimistic Locking
SA-86870
Summary
In a screenflow, two users work on the same cases. The first user clicks Next after which the second user clicks the Back button. The application does not restrict the second users' action and overwrites the first user's input.
Error Messages
Not Applicable
Steps to Reproduce
- Configure cases to have Optimistic locking.
- Create a screenflow with three assignments. The first user creates a case, clicks Next to complete the current assignment, and moves to the second assignment. The second user opens the same case, opens the pending assignment, clicks Next to complete the second assignment, and moves to the third assignment.
- Click the Back button while the first user has not closed the case. The application navigates back to the first assignment instead of exhibiting an error about the modification of the case.
Root Cause
A defect in Pegasystems’ code or rules.
In the screenflow, the logic to check for stale data (Optimistic locking) on the Back button does not exist.
Resolution
Apply HFix-55849.
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.