Question

4
Replies
257
Views
X
SusheelB0531 Member since 2018 7 posts
JP Morgan Chase & Company
Posted: 10 months ago
Last activity: 10 months 3 weeks ago

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 Interface
Share this page LinkedIn