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

Activity on Refresh Section action called twice

SA-39263

Summary



In production, sometimes after clicking a button, the control fails to return.

The button is configured with an action set having a single Refresh Section action that runs an activity.

The activity performs downloading an excel from a Page list.

When the list contain a large number of rows, then the activity is called twice - once prior to the screen refresh, and once again afterwards.

Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Page list and populate it with large number of rows (say 500 rows).
  2. Configure a button to perform Refresh Section with an activity to process the list.
  3. Use Tracer to trace the activity while clicking the button.

Root Cause



An issue in the custom application code or rules.

Refresh Harness got called after Refresh Section with the same pre-activity and the activity got called twice.

Resolution



Perform the following local-change:

Change Configuration on Button-click from Refresh-Section to Refresh-Harness.
Suggest Edit

Published August 1, 2017 - 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