Question
Pegasystems Inc.
IN
Last activity: 20 Aug 2018 5:44 EDT
Commit done during Finish Assignment is commiting stale copy of data
1) We are opening a case from worklist in one portal(as it is optimistic locking for case type, lock is not held), meanwhile through backend activity we are updating some properties in pyWorkPage of that case through backend activity(obj-open + lock + release on commit, changed values of properties in the case which are not referred in the UI when case was first opened in portal)
2) The changed values are reflected in db
3) Now the earlier opened case has been submitted in the portal
Observed that the changed values in the pyWorkPge of case in backed activity have been overrided, and stale values prevalent at the time of opening in portal (but not referenced in UI) have been commited into db
***Edited by Moderator Marissa to update platform capability tags***
-
Likes (1)
Mulukala Suresh -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
FR
Hello,
This is a bit surprising. Which version of the product are you running ?
Pegasystems Inc.
IN
We are using pega 7.4
Pegasystems Inc.
FR
I'm not aware of an issue with optimistic locking on Pega 7.4
CollabPartnerz
IN
Could you please attach the screen shots for configuration.
Pegasystems Inc.
IN
We are using in pyDefault following configuration
An action taken on case (optimistic)
-
Michael Klumb Nirant Chikate Manash Pratim Chaliha Ravali Mohan Odela
Pegasystems Inc.
FR
Hello,
Have you tried Obj-Refresh-And-Lock method for a quick try?
-
Thrinath Ikkurthi David Elvar Calamonte Praveen Kusuma Snehasis Panda Sandhya Madhuri Paladi and 3 More
Pegasystems Inc.
IN
We cannot use Obj-Refresh-And-Lock for following reasons
1) We are using offline mobile and submit needs to work in offline
2) We are using OOTB finish assignment processing
3) Some other data might get changed in UI which might be lost if we do Obj-Refresh-And-Lock, in that case we need to compare the two data and merge them manually
Pegasystems Inc.
IN
Hi @Bogga,
After a quick internal discussion, we recommend that you create an SR so that a detailed investigation can be conducted.
Regards,
CollabPartnerz
IN