Question

2
Replies
983
Views
Close popover
Abhishek Anand (Abhishek_Cap)
Areteans UK
Senior Consultant
Areteans UK
GB
Abhishek_Cap Member since 2015 5 posts
Areteans UK
Posted: August 8, 2017
Last activity: August 10, 2017
Closed
Solved

Refresh the Parent WO harness which is replaced by Child WO harness

I have a requirement to refresh the parent WO harness on close of Child WO harness.
The child WO harness replaces the parent WO and as soon as i close the child WO harness, the parent case re-appears but is not refreshed.

Can anyone help with this?

I already tried to run the follow script:-

function refreshParent()

{

var section = pega.u.d.getSectionByName('SectionName', '');
var theHandle = window.setInterval(function()
{pega.u.d.reloadSection(section, '', '', false, false, '-1', false); window.clearInterval(theHandle);
},1000);

}

pega,u.d.attachOnLoad(refreshParent);

This refreshes the section but only when it's reloaded and hence doesn't help.

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.