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 link on pyWorkToolbar does not work correctly



Clicking the refresh link on the pyWorkToolbar sometimes produces unexpected results.  Instead of refreshing the currently open work object, it retrieves the next work object on the list, or performs some other operation.

Error Messages

Not Applicable

Steps to Reproduce

Click on the refresh icon on the pyWorkToolbar.

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules. Clicking on this link executes the HTML operation, window.location.reload. This actually refires the last executed command specified in the URL.  So if, for example, the previous command executed a GetNextWork, clicking on the refresh link gets the next object to work on.


This issue is resolved through the following local-change:

Create a local copy of the pyWorkToolbar and modify the pxLink control associated with refresh. Change the action so that instead of executing window.location.reload, it executes pega.u.d.submitWhenFail.

Published August 28, 2015 - 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