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

Performance issue when using pyMyProcessActions - Bulk transfer

SA-25373

Summary



After moving to Pega 7.1.9, user notices his bulk action operator drop down does not load and causes "Site is not responding due to a long-running script" error message.


Error Messages



Site is not responding due to a long-running script


Steps to Reproduce



1. Using Internet Explorer 11, log into the portal containing "pyMyProcessActions"  section for the bulk actions.
2. Have 10000+ operators in the user workgroup.


Root Cause



User is trying to load 10000+ operators using the old dynamic select control. The HTML in pyMyProcessActions sets attribute "DSRefreshOnLoad" to true. Even though "DSLoadMode" is set to OnDemand, the DRefreshOnLoad attributes, trumps this setting and changes it to "Auto" causing 10000+ values to be loaded at page load time.

​ Apart from this several mouse events also caused the values to be fetched over and over again.

Apart from this, user also had "Refresh when active" turned on for his default tab which caused the dynamic select to be reloaded everytime.

Resolution



Remove "DSRefreshOnLoad" attribute from pyMyProcessActions (HTML).  This is a deprecated attribute and must not be used.

Consider moving to Drop-Down instead of the deprecated dynamic select.

 

Published July 20, 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