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

There is an error message after refresh window


When user opens two cases in two different windows then save the two cases simeltaneously in order, Refresh the first window and then edit the section in first window, there is a java script error message pop-up


User get's undefined java script error while trying to refresh window..


When open two cases in different windows
1. click save button in window1 first
2. click save button in window2 at last
3. refresh window1
4. edit section in window1. there is an error message pop-up.

For refresh button onclick event we see that window.location.reload function was not working properly hence we substituted it with pega.u.d.submitWhenFail and in logs we see transaction ID mismatch.

1.Open Work- pyWorkToolbar section.
2.Go to cell properties for BOTH refresh buttons
3.Click on the lens icon next to control.
4.Open the Click behaviour and change function Name from "window.location.reload" to "pega.u.d.submitWhenFail" 


Published January 31, 2016 - Updated October 8, 2020

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