Question

Confirm Close Popup

Hello,

When working cases from MyWorklist getting Confirm Close Popup even when user didn't make any changes to case.

Steps:

1) Open assignment from MyWork

2)No changes to case, user selects Close from Action dropdown on the top.

3)Confirm Close Popup comes.

Is that the default behavior of PEGA to give Pop when closing the case.

Version : Pega 7.2

Thank You

Correct Answer
October 3, 2019 - 2:13pm

Hi,

If the popup comes from "pyDirtyCheckConfirm" section like below, then refer this post for additional information related to Dirty check.

The below popup displays only when the form is dirty.

Thanks.

Comments

Keep up to date on this post and subscribe to comments

October 3, 2019 - 12:02pm

Hello,

So whats the pop up saying exactly? Is it the one triggered by IsFormDirty? 

Pega
October 3, 2019 - 12:24pm

Pl let us know the actual message on the pop up. Also, you can try debugging the function 

"isFormDirty" in pzpega_ui_doc_dirtyhandling JS rule. 

You can set the flag pega.u.d.gDirtyOverride=false or true per your requirement. You can do this in a custom JS rule and include it in the harness.

 

Pega
October 3, 2019 - 2:13pm

Hi,

If the popup comes from "pyDirtyCheckConfirm" section like below, then refer this post for additional information related to Dirty check.

The below popup displays only when the form is dirty.

Thanks.

October 3, 2019 - 3:39pm
Response to GeedA

This helps, so there is no way PEGA knows nothing was changed on UI.

Thank you