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

Not able to wrap up the interaction

SA-1131

Summary



When trying to wrap up an interaction, nothing happens, even the top section of the interaction where we will have options to create new interaction or log also disappears.

After closing the window completely and re-launching the application, wrap-up works when opened the same interaction from work list.

Also we do see an java script error as below.

Error Messages



Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3; UHG_Win7_Build 11-15-2010)
Timestamp: Mon, 4 Aug 2014 15:34:23 UTC


Message: 'cpmTabName' is null or not an object
Line: 3588
Char: 5
Code: 0
URI: https://oisp.uhc.com/prweb/PRServletCustom/fIIjK8kD4ZAjkLJRg1UMeA%5B%5B*/!pyNS_CPMPortal9_CPMWorkThread?pyActivity=Show-Harness&Purpose=CPMPerform&TaskIndex=&TaskValue=CAInteractionDriver_____&TaskHTML=&ReadOnly=-1&TabSectionName=&TabSectionNameSmall=&FrameName=pyWorkPage&SkipFrame=true&pzPrimaryPageName=pyWorkPage

Steps to Reproduce



create an interaction and try to wrap up.


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. That's because you are executing your code before DOM is fully loaded.


Resolution



This problem is solved by apply a local change in HTML Fragment 'CPMTearoffScriptInclude' function sendCompositeLoadedEvent().
This should work:
window.onload = function() {
document.getElementById('valueboxes').innerHTML = html;
};
Or you can simply put your javascript code just before </body> tag with no need to use onload there.
 
Suggest Edit

Published June 12, 2015 - Updated December 2, 2021

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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