Support Article
Busy Indicator does not load on performing any action on screen
SA-102628
Summary
On selecting radio buttons or entering answers to answer Questions, the Busy Indicator does not load immediately. As a result, the user can switch answers while the current question is being processed.
Error Messages
Not Applicable
Steps to Reproduce
Select a radio button or enter answers while answering question.
Root Cause
A software use or operation error.
Resolution
Perform the following local-change:
- Invoke the below JavaScript functions using the Run script action to display the Busy Indicator while processing is in progress.
— showBusyIndicator()
— hideBusyIndicator
- Ensure the processing action (such as, Refresh Section and Run activity) is added between the two Run script actions.
- Include the below script in the UserWorkForm.
<script>
function showBusyIndicator() {
if(pega.u.d.gBusyInd) {
pega.u.d.gBusyInd.setTargetElement(document.body);
pega.u.d.gBusyInd.show(true);
}
}
function hideBusyIndicator () {
pega.u.d.gBusyInd.hide();
}
</script>
Published April 11, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.