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

Refresh section in Tab header not working on change of property

SA-4727

Summary



Included section in tab header, and section has a property which displays count of records worklist and workbasket. Whenever an assignment is submitted for approval, count from my worklist is reduced.
This should be reflected in count of tab header. This behavior is not working though configured refresh when

Error Messages



No Error message


Steps to Reproduce



1) Include a tabbed section in harness.
2) In the first tab, give the section/tab title and include another section in the tab header. This section will have count property which needs to display the updated value.
3) Put the refresh when rule for the section in the tab header.
3) In this first tab parent section, include another tabbed section 1) for worklist and 2) for workbasket.
4) Complete assignment from worklist or workbasket so that count is updated.


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. 

For the refresh to happen and value to be reflected the parent i.e. TabGroup has to be refreshed. In that case the tabs opened in Dynamic Container are getting closed.



Resolution



This issue is resolved through the following local change: 

Suggested a local change

<script>
function test(){
pega.u.d.refreshSection("Test",'','');
}
setTimeout(test(),2000);
</script>

The above code has been put in innermost section(tab) that gets refreshed when active. This will refresh the section with updated count.

Without timeout the obsolete data was being picked up. Customer's ok with timeout.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

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