- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 09:00 PM
Hi All,
I have written an onLoad() Catalog Client Script where I used GlideAjax which is calling a script include.
Script Include has the simple glide record query where it fetches a date time field value based on the query result.
When I execute the script via background script, its returning the date time field value correctly.
But returning null value during onload() of the record producer.
What I am doing wrong in this?
Any help is much appreciated.
Thanks,
Ram Prakash K R
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-24-2020 03:27 AM
Hi All,
Finally the below setting worked:
var test = task.getDisplayValue(fieldBackEndName);
Thanks all for your prompt replies.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 09:08 PM
it would be helpful if you post screenshot of client script and script include to debug the same.
Thank you,
Ali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 09:21 PM
Hi,
Few things to check
1) Is your script include client callable true
2) Check the scope of your client script and script include and call it properly
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 10:18 PM
Hi Ankur,
Above checks mentioned are perfect in my instance.
But still I am getting null value.
What might be the reason?
Thanks,
Ram Prakash K R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2020 10:25 PM
Hi,
please share scripts
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader