Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Refresh on screen creates two work objects



In Pega 7 just after creating a new case, when a Right-Click Refresh happens, a new case gets created. 

Issue is only present in Internet Explorer browser.

Error Messages

Not applicable

Steps to Reproduce

  1. Create Interaction.
  2. Search Member.
  3. Right Click and Refresh.

Root Cause

If the right click refresh happens within the purview of iFrame then it will fire the iFrame SRC URL again.

In this particular scenario, when a new service case is created and when done a right click and refresh, it again fires the URL which creates a new work object.


Here’s the explanation for the reported behavior: 

Right Click and Refresh on embedded iframe is not a supported configuration in PRPC.

Following are the few local-change options:
  • Suppress the context menu in the particular harness which has the iFrame: 
document.oncontextmenu = function(e){
return false;
  • To configure a right-click action -> show menu for the dynamic layout (div) which has iFrame. So, now when right-click is performed, Pega menu will be shown instead of the browser context-menu and one can have a Pega refresh instead of Browser refresh in the Pega menu.
  • To forewarn the users about the Right-Click Refresh option which will create a new case. 
  • Disable or remove the “refresh” option from the right-click Context Menu, so that users will not be able to use it. This would be valid only if the users of the application are limited.  


Published October 21, 2016 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us