Question

2
Replies
941
Views
Abhishek_Cap Member since 2015 5 posts
Capgemini India Pvt Ltd
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 Interface
Moderation Team has archived post
Share this page LinkedIn