What Data Can You See in Catalog Client Scripts and Catalog UI Policies?
- Local variables declared in a script
Predefined client side Global variables such as:
g_form (GlideForm)
- g_user(GlideUser)
- g_scratchpad(in conjuction with a Display Business Rule, Module 5)
Description
ServiceNow client-side global variables:
- g_form - object whose properties are methods used to manage form and its fields in the record
- g_user - object whose properties contain session information about the currently logged in user and their role(s)