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

Spinner does not display on button Wait condition Flow Action



When a Button action is configured with a Perform action and the flow action takes more than two seconds to run, the Busy Indicator icon does not display.

Error Messages

Not Applicable

Steps to Reproduce

  1. In the flow, on a particular assignment configure two connectors.
  2. Configure the default flow action with a section with a button.
  3. OnClick configure the Perform action to execute the other flow action.
  4. Configure the optional flow action with a Wait (such that the action waits for more than two seconds) .
  5. Run the flow.
  6. Click the button.

Root Cause

A defect in Pegasystems’ code or rules.


Perform the following local-change:
  1. Add below script in the UserWorkForm rule:

    function showBusyIndicator() {
      setTimeout(function() {
        pega.u.d.setBusyIndicator(document.body, false, true);
      }, 0);

  2. Add the 'Run Script' action with the 'showBusyIndicator' Function Name onClick of the button.

Suggest Edit

Published March 19, 2020 - Updated December 2, 2021

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