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

SA-1511
SUMMARY

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

ERROR MESSAGES

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

STEPS TO REPRODUCE

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.

ROOT CAUSE
 
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.


RESOLUTION
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" 

 
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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