- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2026 01:01 AM
Below onChange Client script is working in yokohoma but not in zurich, can someone please help me to understand on what is the issue?
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || !newValue)
return;
var proceed = confirm("Please confirm");
if (!proceed) {
var ga = new GlideAjax('ScriptIncludeName');
ga.addParam('sysparm_name', 'Function');
ga.addParam('sysparm_abc', g_form.getValue('fieldname'));
ga.getXML(function() {
g_form.setValue('fieldname', '');
g_form.reload();
g_form.showFieldMsg(fieldname, 'cleared.', 'error');
});
}
}
@Ankur Bawiskar @Its_Sagnic @Matthew_13
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2026 10:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2026 03:14 AM - edited 02-28-2026 05:07 AM
It's not a reference field ..it's an attachment variable.
Also, it worked till Yokohoma version , in zurich we have issues.. the article which you shared will not helpful in my scenario.,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2026 03:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2026 04:31 AM
What you are trying to achieve mate. Give more details.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2026 04:42 AM
Alert/confirm popup is not coming ..
This confirm popup used to come in Yokohama .. when we upgrade instance to Zurich pop-up is not coming...
So is there any property or anything we need to add to show popup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2026 06:39 AM
Hi @Sathwik1,
not working how? :)) add there g_form.addInfoMessage('some text here'); to know if it is triggered.
Please share some more details
100 % GlideFather experience and 0 % generative AI
