using GlideAjax to update Change Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2023 07:36 AM
Hello, can you help me why this simple script include doesn't work?
Name: FIG_update_comments
Application: Global
Accesible from: All application scopes
Script:
var ga = new GlideAjax('FIG_update_comments');
ga.addParam('sysparm_name', 'upd');
ga.getXML(mycallback);
function mycallback(response) {
var answer = response.responseXML.documentElement.getAttribute("answer");
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 05:40 AM
Hello, unfortunately there is no alert, i think, the script didn't run.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2023 06:01 AM
@DoDo labs___ No problem.
Are you trying it on your personal instance ? if yes i can quickly check it , please confirm.
Also if possible can you share screenshot of your script include and client script ,make sure you checked client callable true on your script include .
Thanks,
Harsh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 08:47 AM
No, it's not personal instance.
Here are the screenshots: