Issue with Client Script Not Working After Moving from Dev to Test Instance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 09:03 AM
Hey folks, I’m facing a weird issue and hoping someone here can help me figure it out.
I’ve written a client script that shows/hides form sections based on the ticket type. In my Dev instance, it works great—no issues at all.
But when I migrate that same script to my Test instance, it doesn’t work. I've tried everything: re-importing via update set, validating the script, even checking for possible conflicts. Nothing seems to fix it.
Here’s the kicker: if I manually recreate the same script directly in Test, it works perfectly. Same code, same settings—just created fresh.
So now I’m wondering:
Is it something to do with update sets not transferring something essential?
Could there be caching issues that prevent the moved script from triggering?
Am I missing a setting that doesn’t copy over?
Would love to hear if anyone has run into this kind of problem and what you did to fix it. Thanks in advance!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 09:29 AM
Hi @sunilsargam ,
I hope there was no issue in Update set Preview and you have committed the update set on Test instance.
Regards,
Nikhil Bajaj
Regards,
Nikhil Bajaj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 09:34 AM
Hi @sunilsargam,
- are both environments in the same instance version?
- it seems to me that the environments were not 1:1
- DEV working, let's say 5 update sets
- TEST only 3 were released to TEST
- or some changes were made to Default update set and thus not deployed.
Debug tip: go to sys_update_xml table (all the manual changes captured in update sets default or not) and try to compare between DEV and TEST, you can use the payload field to search and filter... [Payload] [CONTAINS][catalo_client_script] etc.
/* If my response wasn’t a total disaster ↙️ ⭐ drop a Kudos or Accept as Solution ✅ ↘️ Cheers! */
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 09:35 AM - edited 07-20-2025 09:39 AM
Hi @sunilsargam
Export the Client Script as XML from Dev and Import XML in Test — it often preserves relationships more cleanly than Update Sets. Compare XML in Dev and Test.
- check there is any sys_id using in the script , where same or not.
- check can change in variable names in both instance.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2025 10:42 PM
Hello @Arun_Manoj ,
i have checked it, i dont have any sys_id and variables are same.