Question

3
Replies
1483
Views
Keviv_Singh Member since 2017 7 posts
Accenture
Posted: 3 years ago
Last activity: 3 years 1 month ago
Closed

DirtyConfirmation section not displaying when the page is dirty.

Problem:

We have a form with many fields of different OOTB controls.

When the User edits or modifys the form the the pega.u.d.gDirtyOverride=true; is set to true which is working fine and I am able to see the pyDirtyConfirmation.section.

The requirement is when the user clicks on save the user should not see the DirtyConfirmation section which is not working as expected.

I have not used OOTB SAVE action in actionset of the button beacause it was not displaying the validation messages in the screen.

Instead we are doing explicit save using the DoSave Activity and refereshing the section. This is solving problem of the validation messages but the dirtyFlag is not set to false. Even after the save is done successfully the DirtyConfirm Section is still showing up.

What I tried:

After save of the workobject I am explicity setting the pega.u.d.gDirtyOverride=false; by passing Parameter. The script is mapped in the PERFORM harness.

And it is working fine after clicking on save the drityConfirmsection is not displaying but After save if I make more modifications or edits. The expected behaviour is to show the DirtyConfirmSection. Which it is not showing.

Once I set the pega.u.d.gDirtyOverride=false it is always retaining it to false even after I making edits in the Form.

Please if you have any ideas how to solve this problem. It would be great.

User Interface
Moderation Team has archived post
Share this page LinkedIn