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
- Create a Page list and populate it with large number of rows (say 500 rows).
- Configure a button to perform Refresh Section with an activity to process the list.
- 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 August 1, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.