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

Conflict message does not display on updating case

SA-78324

Summary



A screenflow is present in a case type in the user's application. The Conflict message does not display on simultaneously updating the same case from another session in the screen flow. A transfer functionality is present. However, the transfer action is performed by the other user. In the transfer function, updatedatetime and pxupdatecounter are updated. In the other session where the screenflow is present, the message does not display on clicking the Submit button. However, the case is configured in the Optimistic locking.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a case type with a screenflow
  2. Open Session1 as User1 and navigate to the last screen of the screenflow
  3. Update the case (pxupdatedatetime and pxupdatecounter) as User2 in Session2 by running an activity 
  4. Submit the last screen as User1. Error message (conflict message) does not display


Root Cause

A defect in Pegasystems’ code or rules. The Optimistic Locking is not built for the screen flows in the initial iteration. It is scheduled to be enhanced in a future Pega release. RecalculateAndSave is added by FlowMethodBody first use assembly (FUA). The FUA checks for NeedToSaveWorkObject or not. This must be False in this case but it is True.

Resolution



Perform the following local-change:
Perform a Save on each step of the flow instead of performing on the last step by unchecking the Save on last step checkbox. 



 

Published August 19, 2019 - Updated December 2, 2021

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.

Did you find this content helpful?

Want to help us improve this content?

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
Contact us