Support Article
Save Button error in Optimistic Lock
SA-85787
Summary
Using Optimistic Locking, when the same work object is updated in another session during a screen flow, the Save button displays an error.
Error Messages
The Operation completed successfully but returned no content.
Steps to Reproduce
- Create a case type.
- Add a screen flow.
- Add an input text property.
- Execute the case type.
- Add a value to the field.
- Click Save.
- Open the same work object in a new browser session.
- Click Begin..
- Modify the field value.
- Click Save.
- Return to the first session.
- Click Save.
- Observe the error message.
Root Cause
A defect in Pegasystems’ code or rules.
The issue was with the actions configured in the Save button of the pyCaseActionAreaButtons section.
Resolution
Perform the following local-change:
Since the section is available and present in the UI kit, override the section and perform the below configurations:
- In dynamic layout 5, open the Configuration of the Save button.
- In Actions, retain only the out-of-the-box Save action, and remove the When condition and Run script action.
Published August 16, 2019 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.