Question
United health group
IN
Last activity: 18 Apr 2016 7:21 EDT
Not able to edit data instance -"A commit cannot be performed because a deferred save of instance"
Hi All,
I have a issue, I am not able to edit and save data instances of delegated data tables from Manager portals from operator x, But same table I am able to edit and save fom dev portals from operator y.
Err-"A commit cannot be performed because a deferred save of instance"
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
United health group
IN
Its a priviliges issue , a privilege is not given in role to object which prevented from savings.
Pegasystems Inc.
IN
Hello Pavani,
Ideally, this behavior can be observed because of the lock on the work object not being held while you are trying to save the object. Make sure you acquire the lock before updating and save.
There can be other scenario where you might be releasing the lock ( using commit method) before this commit actually happens. To get the lock try using the method 'Obj-refresh and Lock" before commit step.
Best Regards,
Mounika
Pegasystems Inc.
IN
United health group
IN
Mouika it may no be a lock issue I guess as its working for other operators and error populates from pega default activity "Save"
Updated: 7 Apr 2016 2:47 EDT
Common Wealth Bank of Australia
AU
Hi Pavani,
This could mainly occur if the operator y has a new access role name defined.
In the access role name of the operator y - please add the org-fw-application-data class or the data class that is failing above and give access 5 for Read, write and Delete instances.
Save the access role name and test the scenario again.
This should make it work.
Make sure these changes are exported in your product package when you do the code migration.
Regards
Sri
United health group
IN
Hi Srividhya,
My application is in Pega 6.x . And in access of role to object rule I see 5 for open delete and execute instances.
Common Wealth Bank of Australia
AU
Hi Pavani,
I still believe the issue is to do with access role, as with dev role you can save it but not via the manager portal.
Questions:
Have you created a custom data class (specific to your application) for the screen that is being saved?
Was there a database table created on the backend for that data class? If so follow the below steps.
Steps to be followed:
Click on add icon at the end of the list in the role defined for the Managers and verify the application specific data classes are listed in there with appropriate privileges.
It will bring up the below dialog, add the application specific data class name and provide the access as below.
-
NAVED IQBAL
Accepted Solution
United health group
IN
Its a priviliges issue , a privilege is not given in role to object which prevented from savings.
-
Varadhapriya S