What is the use of g_scratchpad.load_check?

akshay parekar1
Tera Contributor

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

1 ACCEPTED SOLUTION

Karan Chhabra6
Mega Sage
Mega Sage

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!

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@akshay parekar1 

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

akshay parekar1
Tera Contributor

Thanks i have found the Display BR as well!!