Question

Novitates
Novitates
BE
Novitates
Posted: Aug 23, 2024
Last activity: Sep 26, 2024
Last activity: 26 Sep 2024 11:09 EDT
Solved
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.
***Edited by Moderator Rupashree S. to add Capability tags***
To see attachments, please log in.