glide Ajax is not wokring in the Workspace client script in servicenow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 05:38 AM
Hi All ,
I am creating one Ui action in the workspace . Ui action is working fine in the native view but in the Workspace its not working .
Note : Alert is coming with the sys id the record in the workspace and after that its going inside the script include which we are using in the workspace . Same Script include is used in native view and its working fine.
Please find the code : Workspace

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 06:15 AM
Did you add the client script to the workspace client script field on the UI Action?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2024 06:36 AM
yes I have added and what ever the script i have updated in the question that is there in the workspace client script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2024 04:34 PM - edited 11-28-2024 04:35 PM
Hi Sushma,
I'm encountering the same issue, the glide ajax is working fine in the script field but not the workspace client script fields. Did you solve the issue? Any suggestions?
Best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2024 04:49 PM
In case anyone encounter this issue again. Seems like the workspace client script only support ga.getXMLAnswer() method. So if you cannot make this running, please try below code.
ga.getXMLAnswer(function(answer){
alert(answer);
});