Question
Pegasystems Inc.
IN
Last activity: 17 Apr 2017 11:58 EDT
Getting "You are about to close an open work item which has changes that have not been saved" when trying to refresh the section
Getting "You are about to close an open work item which has changes that have not been saved" when trying to refresh the section
please provide a solution to resolve it
***Updated by Moderator: Marissa to update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
IN
Thnakyou guys for your answers,
That issue got solved now.
When we try to refresh the section on ONCHANGE of a property we have this option
Disable submit on refresh |
when we check that checkbox submit wont get executed, so as Vinod said OOTB activity wont get called now, so that message will not be displayed now
Rules Cube Inc.
CA
Hi Manoj,
This message will appear when you try to close the work item or work object with out saving it, this dirty save can be overcome by saving the work item before navigating or closing it.
Thanks
Regards
Venkatesh G.
Cognizant Technologies
CA
Hi Manoj,
It is not Error message. In general Pega OOTB activity Finish Assignment is called after clicking on Submit or Next Button. In this activity Obj-Save is performed to save the inputs given in section.
In above scenario just inputs are given to case and data is not saved to Work Object. So Pega internally throws an alert message “You are about to close an open work item which has changes that have not been saved”. This is default Pega behavior.
If requirement specifies not to display this message then need to customize OOTB activity.
Thanks
Vinod
Pegasystems Inc.
IN
Thannkyou venkatesh and vinod for your answers
In my case there is a field of control checkbox, when I keep it as editable and trying to refresh the section I am getting that message, if it is readonly I am not getting that message
Cognizant Technologies
CA
Manoj,
If check box is read only, then no inputs are given. So no need to save the work object again. The message comes only when it editable (because inputs are given)
Thanks
Vinod
Accepted Solution
Pegasystems Inc.
IN
Thnakyou guys for your answers,
That issue got solved now.
When we try to refresh the section on ONCHANGE of a property we have this option
Disable submit on refresh |
when we check that checkbox submit wont get executed, so as Vinod said OOTB activity wont get called now, so that message will not be displayed now
Rules Cube Inc.
CA
HI Manoj,
if you use that option it won't save the updated data into that property. So, it will always take the first property value.
Thanks
Venkatesh G