Script include working in Dev but when deployed to Test instance it wasn't functioning as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 08:25 PM
Hi All,
I would please need an assistance should anyone has an idea on how to fix my issues.
I wrote a script include which is to auto-populate a variable set values for existing RITM made within a month, and it worked in Dev instance but when update set was deployed to Test instance it did not work as it did in Dev.
I have checked and compared both scripted in dev and test instances the implementations were both the same, and I am not sure why its not working in Test instance but it is functioning in dev.
Both instances are in same Tokyo version and I am not sure why or what the issue is, kindly assist, Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-16-2024 08:30 PM
@Fredy Voke please provide more info or share script include and where are you calling this from?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2024 05:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2024 05:41 AM
Many thanks Ravi, hopefully my information will help in seeking solutions to my issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-17-2024 05:42 AM - edited ‎09-17-2024 05:45 AM
Can you maybe take a screenshot of the whole script windows, so we can see the parameters around? There may be other pitfalls such as cross-scope issues, the "isolate script" checkbox, and maybe others. Not sure if it's intended, but I can only see the same script twice. The Client Script picture seems to be missing.
Did you also check the logs?
PS: Regarding the GlideRecord - if you've got the sys_id already, I would personally rather work with .get().