Troubleshooting UI Action that works for Admin but not other users
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
24m ago
I am working with UI actions that were installed with the ScreenConnect integration. These are working for administrators but not other users who have all of the specified roles necessary to perform the UI action. The button shows up, but once clicked, only the form message appears and nothing else happens.
I am wondering how to troubleshoot this - there are no appreciable errors in the console, in the ACL debug logs, or in the system logs. Is there a specific debug tool I should be using? UI action code below for reference.
function createScreenConnectSession(){
g_form.addFormMessage('<strong>ScreenConnect Integration</strong>: Initializing Session', 'info');
var incidentSysId = g_form.getUniqueValue();
var ga = new GlideAjax("x_nnwi_scr_connect.ScreenConnectAjaxController");
ga.addParam('sysparm_name', 'findOrCreateScreenConnectSession');
ga.addParam("sysparm_incident_sys_id", incidentSysId);
ga.getXML(responseFunction);
}
function responseFunction(response){
var answer = response.responseXML.documentElement.getAttribute("answer");
if (answer) {
var sessionObj = JSON.parse(answer);
if(sessionObj && sessionObj.sessionId){
g_form.save();
}
}
}
0 REPLIES 0
