Close popover
Susheel Bonthala (SusheelB0531)
JP Morgan Chase & Company

JP Morgan Chase & Company
SusheelB0531 Member since 2018 7 posts
JP Morgan Chase & Company
Posted: August 9, 2019
Last activity: August 16, 2019

Refresh the harness periodically when it is an active thread

We have written a javascript to reload the harness periodically that gets called when the harness is loaded. Currently we are using Settimeout function to reload the page. Our requirement is to refresh the harness only when it is active thread in UI, but this function is executing even when the user traverses to other harness (Review or Dashboard or Reports). Now, when ever the user traverses to other menu items in the portal, this harness thread is still in the background and the script is executing continuously.

Is there any other way we can refresh the harness periodically when it is active (Displayed in UI) and not refresh it if it is not active thread?

Pega Platform Low-Code App Development Data Integration Java and Activities User Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.