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.

Published June 12, 2017 - Updated July 31, 2017

Have a question? Get answers now.

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