Question
Novitates
IN
Last activity: 26 Sep 2024 11:09 EDT
pega.util.Connect.asyncRequest is throwing 500 when trying to execute activity
Hi,
In my js file i have used below
var safeURL= new SafeURL("ClassName.ActivityName");
pega.util.Connect.asyncRequest("GET",safeURL.toURL(),{
success: function(response){
debugger;
console.log(JSON.stringify(response));
},
failure:function(response){
debugger;
console.log("Failed to call activity");
}
});
Activity has security settings as to allow invocation from browser with the right Privilege Class and Privilege, yet this function is throwing 500 error.
Can someone please help on this.