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

All tab process flows triggered on closing of the landing page

SA-16689

Summary



All the tab process flows are getting triggered on closing of the landing page.

Reason – In xxxccacustomerprofile.jsp page we have below cafescript to remember the tab click event which should be fired only when user is manually selecting a tab. It looks like this code is not working properly and it is firing event on icFacesWindowClosed also.

Once doCustProfileTabSelected is called it fires all the process flows which are running under tabs.

<script>
var customerProfileTabPaneEle = document.getElementById('customerProfileTabPane');
new cafescript.TabPane(customerProfileTabPaneEle);
customerProfileTabPaneEle.remember("TabClick",hideActivitiesHeader);
customerProfileTabPaneEle.remember("TabClick",doCustProfileTabSelected);
</script>


Error Messages



java.lang.RuntimeException 

ViewCallOpeningFlow    9637    Commonsytemtask initDto - null profileCustomer info in pibean
XxxxViewTransactionDetails    9172    Commonsytemtask initDto - null profileCustomer info in pibean
ViewAccountSummaryFlow    8731    Commonsytemtask initDto - null profileCustomer info in pibean
ViewCustomerHistoryFlow    6048    Commonsytemtask initDto - null profileCustomer info in pibean
ViewManageRiskAssessmentFlow    1529    Commonsytemtask initDto - null profileCustomer info in pibean
ViewEWCaseSummary    1125    Commonsytemtask initDto - null profileCustomer info in pibean
ViewJudgmentSummaryFlow    1018    Commonsytemtask initDto - null profileCustomer info in pibean
/_Xxxx_PT_Processes/src/bundles/managetriggerevents/flows/ManageTriggerEvents_Main.jxw    481    Commonsytemtask initDto - null profileCustomer info in pibean
 
/_Xxxx_PT_CustomerProcesses/src/bundles/xxxx/gcg/cdf/cards/customer/flows/CaptureProactiveInformation.jxw    60    Commonsytemtask initDto - null profileCustomer info in pibean
AccountTimerEndFlowSessions    51    Commonsytemtask initDto - null profileCustomer info in pibean
 
XxxxCustomerCommunication    11    Commonsytemtask initDto - null profileCustomer info in pibean


Steps to Reproduce



When the user closes the ccacustomerprofile window (screen displayed after ID&V). All the process flows related to the tabs are getting triggered and creating issues. 


Root Cause



In ccacustomerprofile.jsp page, the below script will remember the tab click event, which will be fired when user manually clicks a tab on the page.
<script> 
var customerProfileTabPaneEle = document.getElementById('customerProfileTabPane'); 
new cafescript.TabPane(customerProfileTabPaneEle); 
customerProfileTabPaneEle.remember("TabClick",hideActivitiesHeader); 
customerProfileTabPaneEle.remember("TabClick",doCustProfileTabSelected); 
</script>

It is observed that the tab click event handler doCustProfileTabSelected is getting invoked even on close of the window and it is resulting in invocation of the custom process flows that are related to the tabs. This results into exceptions at server side while process flows are called.



Resolution



This HotFix-936 addresses the issue.

 

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