- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:02 AM
Hi everyone,
I just want to know what is the use of g_scratchpad.load_check in scripting.
Is it a OOB method or might be defined somewhere?
Just want to know what is use of this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:17 AM
Hi @akshay parekar1 ,
load_check is just a property created by someone, if you are looking this in a client script, there must be a display business rule also defined on the same table where some value must be assigned to g_scratchpad.load_check.
In a display business rule, you can give any name to the property example:
g_scratchpad.attachments = current.hasAttachments();
or
g_scratchpad.hasAttachments = current.hasAttachments();
If my answer has helped with your question, please mark it as correct and helpful
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:43 AM
load_check is nothing which is present in OOB.
the script must be created by someone and the developer used that property to set value in it. it is then accessed by display BR
Did you find both the components? client script + display BR
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 02:29 AM
Thanks i have found the Display BR as well!!