Question

2
Replies
204
Views
IndumathyM Member since 2014 5 posts
CTS
Posted: September 13, 2017
Last activity: September 14, 2017
Closed

Pega 5.4, on button click do action not executing sometimes - JS error Debugger F12

I have created a button in 5.4 and in that doaction i am calling a activity to perform some service call and calling Call Show-Harness to refresh the screen with the latest data.

it works perfectly, but when sometimes I repeat clicking the button, nothing happeing in the UI and it is still. I opened F12 and observed below error

Error: Unable to get property 'pega' of undefined or null reference

function _doOnMouseClick(){
if(!pega.ui.WindowPane){
pega.ui.WindowPane={};
}
if(!pega.ui.WindowPane.oManager){
try{
if(typeof (gRuleFormManager)=="object"){
var _1=gRuleFormManager.wrapperAPI.rulesExplorerQuery("getFormFrameWindow");
}else{
var _1=rulesExplorerQuery("getFormFrameWindow");
}
pega.ui.WindowPane.oManager=_1.pega.ui.WindowPane.oManager;

Unable to get property 'pega' of undefined or null reference
}
catch(e){

Kindly help

User Interface
Moderation Team has archived post
Share this page LinkedIn